From bcf1c50b77cde57a695ace977beab705ab4f1ed4 Mon Sep 17 00:00:00 2001 From: jchu Date: Wed, 15 Dec 2004 01:52:36 +0000 Subject: fixed syntax error --- web/lib/pkgfuncs.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web') diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc index 4ae7a4e..54848ce 100644 --- a/web/lib/pkgfuncs.inc +++ b/web/lib/pkgfuncs.inc @@ -122,7 +122,7 @@ function package_dependencies($pkgid=0) { function create_dummy($pname="", $sid="") { if ($pname && $sid) { $uid = uid_from_sid($sid); - if (!$uid) {return NULL}; + if (!$uid) {return NULL;} $dbh = db_connect(); $q = "SELECT ID FROM Packages WHERE Name = '"; $q.= mysql_escape_string($pname)."'"; -- cgit v1.2.3-70-g09d2