From f4fd7f7c9b92bef2607b787d77257904f61ef27a Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 1 Mar 2011 11:29:59 -0600 Subject: Fix PHP notice: requiredby array Required by query does not have a dep condition element. Signed-off-by: Dan McGee Signed-off-by: Lukas Fleischer --- web/template/pkg_details.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'web/template') diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php index 2cdc98b..49586b9 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] . ""; + echo $url . "'>" . $darr[1] . ""; } else { - print "".$darr[1].$darr[3].""; + print "".$darr[1].""; } } -- cgit v1.2.3-70-g09d2