From 48af7ff22307a4372e1fa2e2c6112bee005290c2 Mon Sep 17 00:00:00 2001 From: babelouest Date: Sun, 17 Aug 2014 23:10:30 -0400 Subject: [PATCH] fix $id is array in database.php line 529 #559 --- lib/backend/database.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/backend/database.php b/lib/backend/database.php index f12ec173..3e479ba2 100644 --- a/lib/backend/database.php +++ b/lib/backend/database.php @@ -526,7 +526,12 @@ class Database extends AbstractBackend { $row = $result->fetchRow(); if (!$row) { - \OCP\Util::writeLog('contacts', __METHOD__.', Not found, id: '. $id, \OCP\Util::DEBUG); + if (is_array($id)) { + $idstr = implode(", ", $id); + } else { + $idstr = $id; + } + \OCP\Util::writeLog('contacts', __METHOD__.', Not found, id: '. $idstr, \OCP\Util::DEBUG); return null; }