- user web: set user.has_profile when user edits profile

(shouldn't be necessary, but will fix problem cases)

svn path=/trunk/boinc/; revision=20053
This commit is contained in:
David Anderson 2009-12-31 06:30:43 +00:00
parent 437087a053
commit 36dc2bfaf5
2 changed files with 8 additions and 1 deletions

View File

@ -10771,3 +10771,10 @@ David 30 Dec 2009
upgrade
py/Boinc/
setup_project.py
David 30 Dec 2009
- user web: set user.has_profile when user edits profile
(shouldn't be necessary, but will fix problem cases)
html/user/
create_profile.php

View File

@ -291,8 +291,8 @@ function process_create_profile($user, $profile) {
if (!$result) {
error_page(tra("Could not create the profile: database error"));
}
$user->update("has_profile=1");
}
$user->update("has_profile=1");
page_head(tra("Profile saved"));