bugfix
This commit is contained in:
parent
f1508cfd93
commit
f4b7da0994
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ WebGUI::SQL->write("insert into template (templateId, name, template, namespace,
|
|||
|
||||
my @templateManagers = WebGUI::SQL->buildArray("select userId from groupings where groupId=8");
|
||||
my $clause;
|
||||
if ($#templateManagers > 0) {
|
||||
if ($#templateManagers > -1) {
|
||||
$clause = "and userId not in (".join(",",@templateManagers).")";
|
||||
}
|
||||
$sth = WebGUI::SQL->read("select userId,expireDate,groupAdmin from groupings where groupId=5 ".$clause);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue