diff options
author | jchu <jchu> | 2004-12-15 01:52:36 +0000 |
---|---|---|
committer | jchu <jchu> | 2004-12-15 01:52:36 +0000 |
commit | bcf1c50b77cde57a695ace977beab705ab4f1ed4 (patch) | |
tree | db6f8f2d69285921b5f354d94281d522e54a3e1f | |
parent | 294c14e7bb5a7c880821f145376d1d125662f4dc (diff) |
fixed syntax error
-rw-r--r-- | web/lib/pkgfuncs.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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)."'"; |