[aur-dev] [PATCH 7/7] pkg_comments.php: Fix notice

Lukas Fleischer archlinux at cryptocrack.de
Tue Jul 17 16:47:15 EDT 2012


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 at 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



More information about the aur-dev mailing list