Unable to add new profile field
This commit is contained in:
parent
883826dae7
commit
a832d4ce1c
1 changed files with 1 additions and 1 deletions
|
|
@ -145,7 +145,7 @@ sub www_editProfileField {
|
|||
tie %data, 'Tie::CPHash';
|
||||
$f = WebGUI::HTMLForm->new;
|
||||
$f->hidden("op","editProfileFieldSave");
|
||||
if ($session{form}{fid}) {
|
||||
if ($session{form}{fid} ne 'new') {
|
||||
$f->hidden("fid",$session{form}{fid});
|
||||
$f->readOnly($session{form}{fid},WebGUI::International::get(470));
|
||||
%data = WebGUI::SQL->quickHash("select * from userProfileField where fieldName=".quote($session{form}{fid}));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue