From 123767d51718373fe0b23038d6a05b08a80e98f5 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 18 Oct 2013 14:30:24 +0000 Subject: [PATCH] silenced permanent error_log and fixed a typo --- phpgwapi/inc/class.accounts_sql.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpgwapi/inc/class.accounts_sql.inc.php b/phpgwapi/inc/class.accounts_sql.inc.php index 85ae85cae3..0398f57374 100644 --- a/phpgwapi/inc/class.accounts_sql.inc.php +++ b/phpgwapi/inc/class.accounts_sql.inc.php @@ -324,7 +324,7 @@ class accounts_sql */ function members($account_id) { - if (!is_numeric($account_id)) $account_id = $this-name2id($account_id); + if (!is_numeric($account_id)) $account_id = $this->name2id($account_id); $members = array(); foreach($this->db->select($this->table, 'account_id,account_lid', @@ -524,7 +524,7 @@ class accounts_sql } if (!($rs = $this->db->select($table,$cols,$where,__LINE__,__FILE__)) || !($row = $rs->fetch())) { - error_log(__METHOD__."('$name', '$which', ".array2string($account_type).") db->select('$table', '$cols', ".array2string($where).") returned ".array2string($rs).' '.function_backtrace()); + //error_log(__METHOD__."('$name', '$which', ".array2string($account_type).") db->select('$table', '$cols', ".array2string($where).") returned ".array2string($rs).' '.function_backtrace()); return false; } return ($row['account_type'] == 'g' ? -1 : 1) * $row['account_id'];