diff options
author | Loui Chang <louipc.ist@gmail.com> | 2008-12-29 17:48:41 -0500 |
---|---|---|
committer | Loui Chang <louipc.ist@gmail.com> | 2008-12-29 17:49:50 -0500 |
commit | 94bfae4f03991069015566ce7df2699a0c87405f (patch) | |
tree | 60158a28992c782c8130bd073055e921a4c71701 /web/template/pkg_search_form.php | |
parent | 35cff75156ddd77aad2f97bf756008486b630863 (diff) |
Properly select page length in search form.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web/template/pkg_search_form.php')
-rw-r--r-- | web/template/pkg_search_form.php | 2 |
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: ?> |