summaryrefslogtreecommitdiffstats
path: root/web/lib
diff options
context:
space:
mode:
Diffstat (limited to 'web/lib')
-rw-r--r--web/lib/pkgfuncs.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/pkgfuncs.inc.php b/web/lib/pkgfuncs.inc.php
index 0072856..baa9aa1 100644
--- a/web/lib/pkgfuncs.inc.php
+++ b/web/lib/pkgfuncs.inc.php
@@ -428,7 +428,7 @@ function pkgname_is_blacklisted($name, $dbh=NULL) {
$result = $dbh->query($q);
if (!$result) return false;
- return ($result->fetch(PDO::FETCH_NUM) > 0);
+ return ($result->fetchColumn() > 0);
}
/**