From: pdontthink Date: Sat, 29 Oct 2016 10:24:04 +0000 (+0000) Subject: Squash bugs X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b07dbd13848af718ce181d3cb4c7b0a5e56fcab4;p=squirrelmail.git Squash bugs git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14586 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/abook_database.php b/functions/abook_database.php index 1bc5fa4f..07892c45 100644 --- a/functions/abook_database.php +++ b/functions/abook_database.php @@ -660,8 +660,8 @@ class abook_database extends addressbook_backend { else return $this->set_error(sprintf(_("Database error: %s"), _("Could not prepare query"))); } - array_unshift($where_clause_args[], $this->owner); - if (!($res = $sth->execute(array_array($where_clause_args)))) { + array_unshift($where_clause_args, $this->owner); + if (!($res = $sth->execute($where_clause_args))) { if ($pdo_show_sql_errors) return $this->set_error(sprintf(_("Database error: %s"), implode(' - ', $sth->errorInfo()))); else