Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/pkginfo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/pkginfo.php b/packages/pkginfo.php
index 1cff9bc..fe1066b 100644
--- a/packages/pkginfo.php
+++ b/packages/pkginfo.php
@@ -132,7 +132,7 @@
$dep_it = array_map("dependency_extract_name", $dep_it);
$dep_it = preg_replace("/[<=>].*$/","",$dep_it);
$js_dep = preg_replace("/[<=>].*$/","",$json_content["Depends On"]);
- if ($js_dep == "None")
+ if (!is_array($js_dep))
$js_dep = array();
if (!isset($dep_it))
$dep_it = array();