summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2008-12-29 23:48:41 +0100
committerLoui Chang <louipc.ist@gmail.com>2008-12-29 23:49:50 +0100
commit94bfae4f03991069015566ce7df2699a0c87405f (patch)
tree60158a28992c782c8130bd073055e921a4c71701 /web
parent35cff75156ddd77aad2f97bf756008486b630863 (diff)
downloadaur-94bfae4f03991069015566ce7df2699a0c87405f.tar.gz
aur-94bfae4f03991069015566ce7df2699a0c87405f.tar.xz
Properly select page length in search form.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web')
-rw-r--r--web/template/pkg_search_form.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/template/pkg_search_form.php b/web/template/pkg_search_form.php
index 01009a4f..289f8b4a 100644
--- a/web/template/pkg_search_form.php
+++ b/web/template/pkg_search_form.php
@@ -111,7 +111,7 @@
<?php
$pages = array(25, 50, 75, 100);
foreach ($pages as $i):
- if ($PP == $i):
+ if ($_REQUEST['PP'] == $i):
?>
<option value="<?php print $i; ?>" selected="selected"><?php print $i; ?></option>
<?php else: ?>