phpgroupware-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-tracker] [bugs #8583] Export Contacts in Adressbook not fu


From: Dr. Christian Böttger
Subject: [Phpgroupware-tracker] [bugs #8583] Export Contacts in Adressbook not functioning if register_globals = OFF in php.ini
Date: Wed, 21 Apr 2004 00:46:30 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.6) Gecko/20040113

This mail is an automated notification from the bugs tracker
 of the project: phpGroupWare.

/**************************************************************************/
[bugs #8583] Latest Modifications:

Changes by: 
                Dr. Christian Böttger <address@hidden>
'Date: 
                Wed 04/21/04 at 04:46 (Europe/Berlin)

            What     | Removed                   | Added
---------------------------------------------------------------------------
         Assigned to | None                      | jarg







/**************************************************************************/
[bugs #8583] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8583>
Project: phpGroupWare
Submitted by: Alan Oshry
On: Thu 04/15/04 at 17:09

Category:  addressbook
Item Group:  0.9.16.000 release
Severity:  5 - Average
Priority:  5 - Normal
Resolution:  None
Assigned to:  jarg
Status:  Open
Component Version:  CVS
Platform Version:  MS Windows
Reproducibility:  Every Time


Summary:  Export Contacts in Adressbook not functioning if register_globals = 
OFF in php.ini

Original Submission:  The export() function in class.uiXport.inc.php which 
handles the Export in the Addressbook, will not work if register_globals = OFF. 
The function depends on using $GLOBALS to get the form vars upon submittion, 
and those vars will be blank and therefore it thinks you are just entering the 
page for the first time, essentially doing a refresh upon submittion.

If you comment out the $GLOBALS line, and paste the following code underneath 
it, it will always get the form vars wether or not register_globals = ON|OFF.

$convert = get_var('convert', array('GET','POST'));
$tsvfilename = get_var('tsvfilename', array('GET','POST'));
$fcat_id = get_var('fcat_id', array('GET','POST'));
$download = get_var('download', array('GET','POST'));
$conv_type = get_var('conv_type', array('GET','POST'));
$both_types = get_var('both_types', array('GET','POST'));
$sub_cats = get_var('sub_cats', array('GET','POST'));

If someone could make a .diff, that would be helpfull to those who don't code.

 - scibe











For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8583>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/







reply via email to

[Prev in Thread] Current Thread [Next in Thread]