[eGroupWare-svn] r55843 - /trunk/egroupware/api/src/Contacts.php

[email protected]
Newsgroups gmane.comp.web.egroupware.cvs
Message-ID <[email protected]>
Author: ralfbecker
Date: Tue Apr 26 14:27:40 2016
New Revision: 55843

URL: http://svn.stylite.de/viewvc/egroupware?rev=55843&view=rev
Log:
fix wrong/old class-name

Modified:
    trunk/egroupware/api/src/Contacts.php

Modified: trunk/egroupware/api/src/Contacts.php
URL: http://svn.stylite.de/viewvc/egroupware/trunk/egroupware/api/src/Contacts.php?rev=55843&r1=55842&r2=55843&view=diff
==============================================================================
--- trunk/egroupware/api/src/Contacts.php (original)
+++ trunk/egroupware/api/src/Contacts.php Tue Apr 26 14:27:40 2016
@@ -1067,7 +1067,7 @@
 	function read($contact_id, $ignore_acl=false)
 	{
 		// get so_sql_cf to read private customfields too, if we ignore acl
-		if ($ignore_acl && is_a($this->somain, 'addressbook_sql'))
+		if ($ignore_acl && is_a($this->somain, __CLASS__.'\\Sql'))
 		{
 			$cf_backup = (array)$this->somain->customfields;
 			$this->somain->customfields = Storage\Customfields::get('addressbook', true);
@@ -1128,6 +1128,7 @@
 		}
 
 		if ((!is_array($contact) || !isset($contact['owner'])) &&
+
 			!($contact = parent::read(is_array($contact) ? $contact['id'] : $contact)))
 		{
 			return null;


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.