pkg_comments.php: Fix notice

Fix a notice that appeared if comments were available and the package
was requested by name. See 07d3649c2d for
a similar fix for links to the voters page.

Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2012-07-17 21:48:37 +02:00
parent 10c774f034
commit af95c2b1fe

View file

@ -1,6 +1,6 @@
<?php <?php
$uid = uid_from_sid($SID); $uid = uid_from_sid($SID);
$count = package_comments_count($_GET['ID']); $count = package_comments_count($row['ID']);
?> ?>
<div id="news"> <div id="news">
<h3> <h3>