17 Jul
2012
17 Jul
'12
10:47 p.m.
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> --- web/template/pkg_comments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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> -- 1.7.11.2