bugphpGroupWare - Bugs: bug #13789, Error produced by hook upon...

 
 

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

bug #13789: Error produced by hook upon account deletion

Submitted by:  Charles Martin <cafefroid>
Submitted on:  Wed 13 Jul 2005 08:27:42 PM UTC  
 
Item Group: 0.9.16.008Category: API - Preferences
Severity: 3 - NormalPriority: 5 - Normal
Status: FixedPrivacy: Public
Assigned to: Dave Hall <skwashd>Open/Closed: Closed
Component Version: NoneOperating System: None
Reproducibility: Every TimePlanned Release: None
Fixed Release: 

Sun 04 Dec 2005 04:46:02 AM UTC, comment #4:

Fixed in stable CVS, please update

Dave Hall <skwashd>
Project AdministratorIn charge of this item.
Thu 08 Sep 2005 02:50:33 AM UTC, comment #3:

I will fix this in cvs soon. Finding all the deprecated GPCs is a pita.

Dave Hall <skwashd>
Project AdministratorIn charge of this item.
Wed 07 Sep 2005 07:23:23 PM UTC, comment #2:

Sorry, forgot to mention, this was with version 0.9.16.005

Charles Martin <cafefroid>
Wed 07 Sep 2005 01:08:09 PM UTC, comment #1:

Hi,

Which version of phpgw are you using ?

Thanks for report

Caeies

Caeies <Caeies>
Project Administrator
Wed 13 Jul 2005 08:27:42 PM UTC, original submission:

hook_deleteaccount.inc.php generates an error when used with php5 and register_globals = off

A simple way to fix this issue :

Change this line :

$GLOBALS['phpgw']->db->query('DELETE FROM phpgw_preferences WHERE preference_owner='.$GLOBALS['HTTP_POST_VARS']['account_id'],__LINE__,__FILE__);

To :
$GLOBALS['phpgw']->db->query('DELETE FROM phpgw_preferences WHERE preference_owner='.$_REQUEST['account_id'],__LINE__,__FILE__);

I know php5 is not officially supported yet but any step in that direction must be apreciated :-P

Charles Martin <cafefroid>

 

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 6 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sun 04 Dec 2005 04:46:02 AM UTCskwashdItem GroupNone=>0.9.16.008
  StatusNeed Info=>Fixed
  Open/ClosedOpen=>Closed
Thu 08 Sep 2005 02:50:33 AM UTCskwashdAssigned toNone=>skwashd
Wed 07 Sep 2005 01:08:09 PM UTCCaeiesStatusNone=>Need Info
Wed 13 Jul 2005 08:27:42 PM UTCcafefroidCarbon-Copy-=>Added cafefroid

Back to the top


Powered by Savane 3.1-cleanup1