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: Jonathan Rivera
Subject: [Phpgroupware-tracker] [bugs #8583] Export Contacts in Adressbook not functioning if register_globals = OFF in php.ini
Date: Fri, 23 Apr 2004 12:51:59 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686) Gecko/20040323 Galeon/1.3.7

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

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

Changes by: 
                Jonathan Rivera <address@hidden>
'Date: 
                Fri 04/23/04 at 16:51 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed


------------------ Additional Follow-up Comments ----------------------------
This has been corrected in CVS.

To grab a complete update of all fixes:

1)  Check to see if you have cvs installed: 'cvs --help'.
1a) If not, install a copy of cvs-cli from your favorite 
distro.

2)  Then just type:
    'cd <your phpgroupware dir>; cvs update -dP'.

You can do step 2 as many times in a day as you wish, and 
will always get the most current bug fixes.

Thanks,







/**************************************************************************/
[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:  Fixed
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

Follow-up Comments
------------------


-------------------------------------------------------
Date: Fri 04/23/04 at 16:51         By: jarg
This has been corrected in CVS.

To grab a complete update of all fixes:

1)  Check to see if you have cvs installed: 'cvs --help'.
1a) If not, install a copy of cvs-cli from your favorite 
distro.

2)  Then just type:
    'cd <your phpgroupware dir>; cvs update -dP'.

You can do step 2 as many times in a day as you wish, and 
will always get the most current bug fixes.

Thanks,













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]