From b8e29501f44302bfd3d4ae44e0f19b223e2cabc7 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 26 Nov 2017 01:47:37 +0100 Subject: [PATCH] * InfoLog/Admin: fix error deleting user "access to undeclared static property" --- infolog/inc/class.infolog_so.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infolog/inc/class.infolog_so.inc.php b/infolog/inc/class.infolog_so.inc.php index 678b2e0c68..2a9c93792a 100644 --- a/infolog/inc/class.infolog_so.inc.php +++ b/infolog/inc/class.infolog_so.inc.php @@ -535,7 +535,7 @@ class infolog_so if ($args['new_owner']) { // we cant just set the new owner, as he might be already set and we have a unique index - Api\Db::$table_aliases[$this->users_table] = $this->users_table. + Api\Db::$tablealiases[$this->users_table] = $this->users_table. " LEFT JOIN $this->users_table new_owner ON new_owner.info_id=$this->users_table.info_id". " AND new_owner.account_id=".$this->db->quote($args['new_owner'], 'int'); @@ -546,7 +546,7 @@ class infolog_so 'new_owner.account_id IS NULL', ), __LINE__, __FILE__, 'infolog'); - unset(Api\Db::$table_aliases[$this->users_table]); + unset(Api\Db::$tablealiases[$this->users_table]); } $this->db->delete($this->users_table, array('account_id' => $args['account_id']), __LINE__, __FILE__, 'infolog'); }