Enhance detection of sqsof vars

This commit is contained in:
Miles Lott 2001-09-15 12:59:48 +00:00
parent 50a6073b51
commit 01ef0bdc8b

View File

@ -76,13 +76,13 @@
} }
/* _debug_array($GLOBALS['HTTP_POST_VARS']); */ /* _debug_array($GLOBALS['HTTP_POST_VARS']); */
/* Might change this to '' at the end---> */ /* Might change this to '' at the end---> */
$start = $GLOBALS['start']; $start = $GLOBALS['HTTP_POST_VARS']['start'] ? $GLOBALS['HTTP_POST_VARS']['start'] : $GLOBALS['HTTP_GET_VARS']['start'];
$query = $GLOBALS['query']; $query = $GLOBALS['HTTP_POST_VARS']['query'] ? $GLOBALS['HTTP_POST_VARS']['query'] : $GLOBALS['HTTP_GET_VARS']['query'];
$sort = $GLOBALS['sort']; $sort = $GLOBALS['HTTP_POST_VARS']['sort'] ? $GLOBALS['HTTP_POST_VARS']['sort'] : $GLOBALS['HTTP_GET_VARS']['sort'];
$order = $GLOBALS['order']; $order = $GLOBALS['HTTP_POST_VARS']['order'] ? $GLOBALS['HTTP_POST_VARS']['order'] : $GLOBALS['HTTP_GET_VARS']['order'];
$filter = $GLOBALS['filter']; $filter = $GLOBALS['HTTP_POST_VARS']['filter'] ? $GLOBALS['HTTP_POST_VARS']['filter'] : $GLOBALS['HTTP_GET_VARS']['filter'];
$cat_id = $GLOBALS['cat_id']; $cat_id = $GLOBALS['HTTP_POST_VARS']['cat_id'] ? $GLOBALS['HTTP_POST_VARS']['cat_id'] : $GLOBALS['HTTP_GET_VARS']['cat_id'];
$fcat_id = $GLOBALS['fcat_id']; $fcat_id = $GLOBALS['HTTP_POST_VARS']['fcat_id'] ? $GLOBALS['HTTP_POST_VARS']['fcat_id'] : $GLOBALS['HTTP_GET_VARS']['fcat_id'];
if(!empty($start) || ($start == '0') || ($start == 0)) if(!empty($start) || ($start == '0') || ($start == 0))
{ {