fix wrong class-name used only for accounts in LDAP and addressbook in SQL

This commit is contained in:
Ralf Becker 2016-03-08 08:54:40 +00:00
parent 8b53703b40
commit c431cf3c0e

View File

@ -252,7 +252,7 @@ class Storage
{
if ($this->account_repository != $this->contact_repository)
{
$class = 'EGroupware\\Contacts\\'.ucfirst($this->account_repository);
$class = 'EGroupware\\Api\\Contacts\\'.ucfirst($this->account_repository);
$this->so_accounts = new $class();
$this->account_cols_to_search = $this->so_accounts->search_attributes;
}