nextmatchs fix

This commit is contained in:
ceb 2002-05-27 22:38:48 +00:00
parent f5a29b607c
commit 0f7bcfa040

View File

@ -25,13 +25,19 @@
function index() function index()
{ {
$acl_app = get_var('acl_app',Array('GET','POST')); $acl_app = get_var('acl_app',Array('GET','POST'));
$owner = $GLOBALS['owner']; $start = get_var('start',Array('GET','POST'));
$query = get_var('query',Array('GET','POST'));
$s_groups = get_var('s_groups',Array('GET','POST'));
$s_users = get_var('s_users',Array('GET','POST'));
$maxm = get_var('maxm',Array('GET','POST'));
$totalentries = get_var('totalentries',Array('GET','POST'));
$owner = $GLOBALS['owner'];
if (! $acl_app) if (! $acl_app)
{ {
$acl_app = 'preferences'; $acl_app = 'preferences';
$acl_app_not_passed = True; $acl_app_not_passed = True;
} }
$GLOBALS['phpgw_info']['flags']['currentapp'] = $acl_app; $GLOBALS['phpgw_info']['flags']['currentapp'] = $acl_app;
@ -176,7 +182,7 @@
if(!isset($query)) if(!isset($query))
{ {
$query = ""; $query = '';
} }
if(!isset($maxm)) if(!isset($maxm))