-
Incident report
-
Resolution: Won't fix
-
Minor
-
None
-
1.8.5
-
None
-
Debian Lenny
When there's an error with DB fields in method CUser::updateProfile, the application tries to 'break' but it's not inside a loop, causing the following error:
PHP Fatal error: Cannot break/continue 1 level in .../api/classes/class.cuser.php on line 759
Besides this error in the log file, the user doesn't receive any feedback in the web front-end.
I attach a small patch to fix the problem, which can be applied with:
patch -p1 < 0001-Correct-wrong-error-check-in-CUser-updateProfile.patch