summaryrefslogtreecommitdiffstats
path: root/web/template/pkg_comments.php
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2012-07-17 21:48:37 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2012-07-17 22:44:27 +0200
commitaf95c2b1fe42b36647c9ef4b091c99f8aab5a0cc (patch)
tree02766c929ead53a766636b9bb29fb2405434f069 /web/template/pkg_comments.php
parent10c774f0346b08fc4d720c4e80582476ba7e61a9 (diff)
downloadaurweb-af95c2b1fe42b36647c9ef4b091c99f8aab5a0cc.tar.xz
pkg_comments.php: Fix notice
Fix a notice that appeared if comments were available and the package was requested by name. See 07d3649c2d68bd67ebbcbe10ee9535364903a0f8 for a similar fix for links to the voters page. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/template/pkg_comments.php')
-rw-r--r--web/template/pkg_comments.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/template/pkg_comments.php b/web/template/pkg_comments.php
index 40b2fd1..30ceea5 100644
--- a/web/template/pkg_comments.php
+++ b/web/template/pkg_comments.php
@@ -1,6 +1,6 @@
<?php
$uid = uid_from_sid($SID);
-$count = package_comments_count($_GET['ID']);
+$count = package_comments_count($row['ID']);
?>
<div id="news">
<h3>