Fixed a postgres bug for editing the user profile.
This commit is contained in:
parent
7dd8901c15
commit
d840ce240b
1 changed files with 1 additions and 0 deletions
|
|
@ -278,6 +278,7 @@ sub www_displayLogin {
|
|||
sub www_editProfile {
|
||||
my ($output, $f, $a, %data, $method, $values, $category, $label, $default, $previousCategory, $subtext);
|
||||
if ($session{user}{userId} != 1) {
|
||||
tie %data, 'Tie::CPHash';
|
||||
$output .= '<h1>'.WebGUI::International::get(338).'</h1>';
|
||||
$f = WebGUI::HTMLForm->new;
|
||||
$f->hidden("op","editProfileSave");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue