diff options
author | Dan McGee <dan@archlinux.org> | 2011-03-01 18:29:59 +0100 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-03-04 10:29:16 +0100 |
commit | f4fd7f7c9b92bef2607b787d77257904f61ef27a (patch) | |
tree | c74d281de5175775138efe9548be5caf76f4032b /web/template | |
parent | 9b51f2d8420ab35012067f6aaf98f38f21bb2320 (diff) | |
download | aur-f4fd7f7c9b92bef2607b787d77257904f61ef27a.tar.gz aur-f4fd7f7c9b92bef2607b787d77257904f61ef27a.tar.xz |
Fix PHP notice: requiredby array
Required by query does not have a dep condition element.
Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/template')
-rw-r--r-- | web/template/pkg_details.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php index 2cdc98bd..49586b9b 100644 --- a/web/template/pkg_details.php +++ b/web/template/pkg_details.php @@ -145,12 +145,11 @@ $out_of_date_time = ($row["OutOfDateTS"] == 0) ? $msg : gmdate("r", intval($row[ } reset($pkgsearch_vars); - # $darr[3] is the DepCondition if ($darr[2] == 0) { - echo $url . "'>" . $darr[1] . $darr[3] . "</a>"; + echo $url . "'>" . $darr[1] . "</a>"; } else { - print "<a href='http://www.archlinux.org/packages/search/?q=".$darr[1]."'>".$darr[1].$darr[3]."</a>"; + print "<a href='http://www.archlinux.org/packages/search/?q=".$darr[1]."'>".$darr[1]."</a>"; } } |