From b07dbd13848af718ce181d3cb4c7b0a5e56fcab4 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Sat, 29 Oct 2016 10:24:04 +0000 Subject: [PATCH] Squash bugs git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14586 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/abook_database.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.25.1