- fix: Column Layout seems a little messed up
- Fixed the EMS default templates to expose all functionality. - Fixed a problem in the EMS where it wouldn't let you add any events. - fix: FieldName incorrect after adding profile field - fix: preload.perl for other roots than /data/WebGUI - Fixed a bug where polls weren't distributing karma.
This commit is contained in:
parent
d619dd1fdb
commit
2e1de9d214
6 changed files with 18 additions and 13 deletions
|
|
@ -86,7 +86,7 @@ sub create {
|
|||
my $categoryId = shift || "1";
|
||||
my ($fieldNameExists) = $session->db->quickArray("select count(*) from userProfileField where fieldName=".$session->db->quote($fieldName));
|
||||
return undef if ($fieldNameExists);
|
||||
my $id = $session->db->setRow("userProfileField","fieldName",{fieldName=>"new"},undef,$fieldName);
|
||||
my $id = $session->db->setRow("userProfileField","fieldName",{fieldName=>"new"},$fieldName);
|
||||
my $self = $class->new($session,$id);
|
||||
$self->setCategory($categoryId);
|
||||
$self->set($properties);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue