[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-tracker] [Bug #515] Error when changing page of the grant
From: |
nobody |
Subject: |
[Phpgroupware-tracker] [Bug #515] Error when changing page of the grant access |
Date: |
Fri, 31 May 2002 10:14:28 -0400 |
=================== BUG #515: FULL BUG SNAPSHOT ===================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=515&group_id=509
Submitted by: youki Project: phpGroupWare
Submitted on: 2002-May-31 14:14
Category: API - Preferences Bug Group: 0.9.14 RC2
Severity: 5 - Major Priority: Normal
Resolution: None Assigned to: None
Status: Open Platform Version: Linux - Mandrake
Reproducibility: Every Time
Summary: Error when changing page of the grant access
Original Submission: 1. When there is more users than the maxmatches per page
on the grant access screen, and when you click on an arrow to change page, you
get an error.
2. The search engine is buggy
The problem comes from the function index() in
/references/inc/class.uiaclprefs.inc.php :
there is a bad initialisation of many vars :
=> first : $acl_app is initialised like this :
$acl_app = $GLOBALS['HTTP_GET_VARS']['acl_app'];
but it can also be a posted var and not a getted one.
=> second : $start,$s_groups,$s_users,$totalentries,$query,$maxm are not
initialised. They should be initialised as follow :
$start=$GLOBALS['HTTP_POST_VARS']['start'];
...
Take a look at the attached file for more details
Excuse my bad english, hope this helps.
Nicolas Reignier
No Followups Have Been Posted
File Attachments
****************
-------------------------------------------------------
Date: 2002-May-31 14:14 Name: class.uiaclprefs.inc.php Size: 11KB By: youki
Corrected class.uiaclprefs.inc.php
http://savannah.gnu.org/bugs/download.php?group_id=509&bug_id=515&bug_file_id=20
For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=515&group_id=509
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-tracker] [Bug #515] Error when changing page of the grant access,
nobody <=