bugphpGroupWare - Bugs: bug #3373, Bad relations between phpgw_log...

 
 

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

bug #3373: Bad relations between phpgw_log and phpgw_accounts

Submitter:  Kai Hofmann <powerstat>
Submitted:  Tue 29 Apr 2003 09:04:58 AM UTC
   
 
Category:  API - Admin Item Group:  SVN trunk (dev code)
Severity:  3 - Normal Priority:  5 - Normal
Status:  Invalid Privacy:  Public
Assigned to:  skwashd Open/Closed:  Closed
Component Version:  SVN Operating System:  None
Reproducibility:  Every Time Planned Release:  None
Fixed Release: 

Wed 21 Apr 2004 08:09:29 AM UTC, comment #2: 

The code mentioned in the report is no longer in the 16 branch.  It should be fixed up in the merge2HEAD.

Dave Hall <skwashd>
Group administrator
Wed 21 Apr 2004 07:41:28 AM UTC, comment #1: 

Kai, make a suggestion how to improve it ...

Dr. Christian Böttger <cboettger>
Tue 29 Apr 2003 09:04:58 AM UTC, original submission:  

Within the admin module there are two different relations between phpgw_log and phpgw_accounts.
An if statement decides between the two variants.
This is absolutly evil! - only one column should be used for relations between tables!

$parms['where'] = array('phpgw_log.log_user = phpgw_accounts.account_id');
$parms['where'][] = 'phpgw_log.log_id = phpgw_accounts.account_id';
./admin/inc/class.solog.inc.php

Kai Hofmann <powerstat>

 

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

Date Changed by Updated Field Previous Value => Replaced by
2004-04-21 skwashd StatusNone Invalid
    Open/ClosedOpen Closed
2004-04-21 cboettger Assigned toNone skwashd
2004-01-20 powerstat Assigned to#934 None
2003-04-29 skwashd Assigned toNone None
    Component VersionNone None
    ReproducibilityNone None

Back to the top

Powered by Savane 3.13-4448.
Corresponding source code