diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2012-07-17 21:48:37 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2012-07-17 22:44:27 +0200 |
commit | af95c2b1fe42b36647c9ef4b091c99f8aab5a0cc (patch) | |
tree | 02766c929ead53a766636b9bb29fb2405434f069 | |
parent | 10c774f0346b08fc4d720c4e80582476ba7e61a9 (diff) |
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>
-rw-r--r-- | web/template/pkg_comments.php | 2 |
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> |