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

Submitter:  Charles Martin <cafefroid>
Submitted:  Wed 13 Jul 2005 08:27:42 PM UTC
   
 
Category:  API - Preferences Item Group:  0.9.16.008
Severity:  3 - Normal Priority:  5 - Normal
Status:  Fixed Privacy:  Public
Assigned to:  skwashd Open/Closed:  Closed
Component Version:  None Operating System:  None
Reproducibility:  Every Time Planned Release:  None
Fixed Release: 

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

Fixed in stable CVS, please update

Dave Hall <skwashd>
Group administrator
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>
Group administrator
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>
Group 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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 6 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-12-04 skwashd Item GroupNone 0.9.16.008
    StatusNeed Info Fixed
    Open/ClosedOpen Closed
2005-09-08 skwashd Assigned toNone skwashd
2005-09-07 Caeies StatusNone Need Info
2005-07-13 cafefroid Carbon-Copy- Added cafefroid

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code