summaryrefslogtreecommitdiffstats
path: root/web/template/pkg_comment_form.php
diff options
context:
space:
mode:
authorcanyonknight <canyonknight@gmail.com>2012-09-09 21:23:23 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2012-09-18 00:59:04 +0200
commit5186f83ab7869fd831cbe6db3f7e774dc1132448 (patch)
treefc892bff00434064455783b9ee8b2b53aa0773dd /web/template/pkg_comment_form.php
parent3013ab8eb0a03484f5675343fb8f3fcec286c291 (diff)
downloadaur-5186f83ab7869fd831cbe6db3f7e774dc1132448.tar.gz
aur-5186f83ab7869fd831cbe6db3f7e774dc1132448.tar.xz
pkg_comment_form.php: Fix PHP undefined variable notice for package "ID"
Signed-off-by: canyonknight <canyonknight@gmail.com> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/template/pkg_comment_form.php')
-rw-r--r--web/template/pkg_comment_form.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/template/pkg_comment_form.php b/web/template/pkg_comment_form.php
index 95d2cb05..fb3ebffb 100644
--- a/web/template/pkg_comment_form.php
+++ b/web/template/pkg_comment_form.php
@@ -8,7 +8,7 @@ if (isset($_REQUEST['comment']) && check_token()) {
}
?>
<div>
- <input type="hidden" name="ID" value="<?php echo intval($_REQUEST['ID']) ?>" />
+ <input type="hidden" name="ID" value="<?php echo intval($row['ID']) ?>" />
<input type="hidden" name="token" value="<?php echo htmlspecialchars($_COOKIE['AURSID']) ?>" />
</div>
<p>