summaryrefslogtreecommitdiffstats
path: root/web/template
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2008-12-29 17:48:41 -0500
committerLoui Chang <louipc.ist@gmail.com>2008-12-29 17:49:50 -0500
commit94bfae4f03991069015566ce7df2699a0c87405f (patch)
tree60158a28992c782c8130bd073055e921a4c71701 /web/template
parent35cff75156ddd77aad2f97bf756008486b630863 (diff)
downloadaurweb-94bfae4f03991069015566ce7df2699a0c87405f.tar.xz
Properly select page length in search form.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web/template')
-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 01009a4..289f8b4 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: ?>