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:
parent
b75dcb27f0
commit
48af7ff223
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user