mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Fix the comment poop bug.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
parent
a669db5c7a
commit
402c6d0933
2 changed files with 10 additions and 7 deletions
|
@ -62,12 +62,12 @@ if ($output):
|
|||
<?php
|
||||
endif;
|
||||
|
||||
if (isset($_GET["ID"])) {
|
||||
if (isset($_GET['ID'])) {
|
||||
include('pkg_search_form.php');
|
||||
if (!intval($_GET["ID"])) {
|
||||
if (!$_GET['ID'] = intval($_GET['ID'])) {
|
||||
print __("Error trying to retrieve package details.")."<br />\n";
|
||||
} else {
|
||||
package_details($_GET["ID"], $_COOKIE["AURSID"]);
|
||||
package_details($_GET['ID'], $_COOKIE["AURSID"]);
|
||||
}
|
||||
} else {
|
||||
pkg_search_page($_COOKIE["AURSID"]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue