Author: leithoff
New Revision: 33562
URL: http://www.egroupware.org/viewvc/egroupware?rev=33562&view=rev
Log:
handle that tracker-filter may be an array of trackers for the check need_private_acl and is_admin test
Modified:
trunk/tracker/inc/class.tracker_so.inc.php
Modified: trunk/tracker/inc/class.tracker_so.inc.php
URL: http://www.egroupware.org/viewvc/egroupware/trunk/tracker/inc/class.tracker_so.inc.php?rev=33562&r1=33561&r2=33562&view=diff
— trunk/tracker/inc/class.tracker_so.inc.php (original)
+++ trunk/tracker/inc/class.tracker_so.inc.php Fri Jan 7 10:44:43 2011
@@ -202,7 +202,10 @@
$join = $join_in && $join_in != 1 ? $join_in : ‘’;
// private ACL: private items are only visible for create, assiged or tracker admins
-
$need_private_acl = $this->user && method_exists($this,'is_admin') && !$this->is_admin($filter['tr_tracker']);
-
foreach ((array)$filter['tr_tracker'] as $k => $tr) -
{ -
$need_private_acl = $this->user && method_exists($this,'is_admin') && !$this->is_admin($tr); -
} if (is_array($filter) && array_key_exists('tr_assigned',$filter)) {
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web. Learn how to
best implement a security strategy that keeps consumers’ information secure
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs