bugphpGroupWare - Bugs: bug #8583, Export Contacts in Adressbook not...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #8583: Export Contacts in Adressbook not functioning if register_globals = OFF in php.ini

Submitted by:  Alan Oshry <scibe>
Submitted on:  Thu 15 Apr 2004 05:09:58 PM UTC  
 
Item Group: 0.9.16.000 releaseCategory: addressbook
Severity: 3 - NormalPriority: 5 - Normal
Status: FixedPrivacy: Public
Assigned to: Jonathan Rivera <jarg>Open/Closed: Closed
Component Version: SVNOperating System: MS Windows
Reproducibility: Every TimePlanned Release: None
Fixed Release: 

Fri 23 Apr 2004 04:51:55 PM UTC, comment #1:

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,

Jonathan Rivera <jarg>In charge of this item.
Thu 15 Apr 2004 05:09:58 PM UTC, 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

Alan Oshry <scibe>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 01 May 2004 05:55:15 AM UTCjargOpen/ClosedOpen=>Closed
Fri 23 Apr 2004 04:51:55 PM UTCjargStatusNone=>Fixed
Wed 21 Apr 2004 04:46:28 AM UTCcboettgerAssigned toNone=>jarg

Back to the top


Powered by Savane 3.1-cleanup1