mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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>
This commit is contained in:
parent
3013ab8eb0
commit
5186f83ab7
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue