[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-tracker] [bugs #8583] Export Contacts in Adressbook not fu
From: |
Alan Oshry |
Subject: |
[Phpgroupware-tracker] [bugs #8583] Export Contacts in Adressbook not functioning if register_globals = OFF in php.ini |
Date: |
Thu, 15 Apr 2004 13:10:00 -0400 |
User-agent: |
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322) |
This mail is an automated notification from the bugs tracker
of the project: phpGroupWare.
/**************************************************************************/
[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: None
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/
- [Phpgroupware-tracker] [bugs #8583] Export Contacts in Adressbook not functioning if register_globals = OFF in php.ini,
Alan Oshry <=