Commit 1483ad34 authored by Nigel McNie's avatar Nigel McNie
Browse files

Update user's profile icon setting in the usr table when their current profile icon is deleted.

parent d70406d2
......@@ -278,6 +278,7 @@ function settings_submit_delete(Pieform $form, $values) {
if (in_array($USER->get('profileicon'), $icons)) {
$USER->profileicon = null;
$USER->commit();
}
db_commit();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment