This commit is contained in:
JT Smith 2004-03-08 01:32:10 +00:00
parent f1508cfd93
commit f4b7da0994

View file

@ -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);