summaryrefslogtreecommitdiffstats
path: root/web/lib/pkgfuncs.inc
diff options
context:
space:
mode:
authorjchu <jchu>2004-12-15 02:52:36 +0100
committerjchu <jchu>2004-12-15 02:52:36 +0100
commitbcf1c50b77cde57a695ace977beab705ab4f1ed4 (patch)
treedb6f8f2d69285921b5f354d94281d522e54a3e1f /web/lib/pkgfuncs.inc
parent294c14e7bb5a7c880821f145376d1d125662f4dc (diff)
downloadaur-bcf1c50b77cde57a695ace977beab705ab4f1ed4.tar.gz
aur-bcf1c50b77cde57a695ace977beab705ab4f1ed4.tar.xz
fixed syntax error
Diffstat (limited to 'web/lib/pkgfuncs.inc')
-rw-r--r--web/lib/pkgfuncs.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc
index 4ae7a4eb..54848ce6 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)."'";