Re: Bug with removing a user
Lukas Kahwe Smith <[email protected]> Tue, 15 Nov 2005 12:16:38 +0100
| Newsgroups | gmane.comp.php.pear.liveuser |
|---|---|
| Message-ID | <[email protected]> |
Lukas Kahwe Smith wrote: > Dan Rossi wrote: > >> ill update via cvs again and see if it happens again. > > > i think i found the problem .. > > if you pass an empty data array to LiveUser_Admin_Storage_SQL::update() > it still tries to execute an update. > > i think i will handle this case by then directly returning true. should be fixed in CVS .. we may however also look into when and why empty data arrays are passed to update and if it makes sense to prevent this from happening. regards, Lukas