1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-12-04 15:24:35 +01:00

fix $id is array in database.php line 529 #559

This commit is contained in:
babelouest 2014-08-17 23:10:30 -04:00
parent b75dcb27f0
commit 48af7ff223

View File

@ -526,7 +526,12 @@ class Database extends AbstractBackend {
$row = $result->fetchRow(); $row = $result->fetchRow();
if (!$row) { 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; return null;
} }