Re: $usr->getRight() works with MDB2 but not with DB
Lukas Kahwe Smith <[email protected]> Tue, 30 Aug 2005 10:33:44 +0200
| Newsgroups | gmane.comp.php.pear.liveuser |
|---|---|
| Message-ID | <[email protected]> |
Jens Hechtfisch wrote: > Hello list, > > strange things happens... > for testing i have > > - two rights: > right_id area_id right_define_name has_implied > 1 1 Operator N > 2 1 Admin N I am guessing the provblem is here .. or somewhere around here .. DB does not emlulate boolean types at all .. therefore it juss uses 0/1. MDB2 on the other hand does emulate boolean datatypes and therefore uses N/Y. So when you move from DB to MDB2 and back you need to fix your boolean values like has_implied, has_level, is_active etc. regards, Lukas