From f4b7da09948f26c5b92e9b3c21e6187a8d721290 Mon Sep 17 00:00:00 2001 From: JT Smith Date: Mon, 8 Mar 2004 01:32:10 +0000 Subject: [PATCH] bugfix --- docs/upgrades/upgrade_5.9.9-6.0.0.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/upgrades/upgrade_5.9.9-6.0.0.pl b/docs/upgrades/upgrade_5.9.9-6.0.0.pl index 267701e3e..e755f83eb 100644 --- a/docs/upgrades/upgrade_5.9.9-6.0.0.pl +++ b/docs/upgrades/upgrade_5.9.9-6.0.0.pl @@ -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);