MantisBT: master-1.2.x fe8e3672

Author Committer Branch Timestamp Parent
dregad dregad master-1.2.x 2013-04-04 07:05 master-1.2.x 6443c620
Affected Issues  0015698: 'extract() expects parameter 1 to be array, boolean given' in '/srv/www/bugs/account_prof_edit_page.php' line 48
Changeset

Fix 0015698: system warning when editing profile

When user clicks Submit button to edit an existing profile, without
first selecting one from the list, the following system warning was
triggered: 'extract() expects parameter 1 to be array, boolean given'.

The code now ensures that a profile has been selected before redirecting
to account_prof_edit_page.php, and issues a meaningful error message if
not.

mod - account_prof_update.php Diff File