tpzo fixed again ...

Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2017-05-17 18:02:32 +02:00
parent afb430b908
commit f55ea4bc83
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78

View file

@ -887,7 +887,7 @@ class Diaspora {
$cid = get_contact($handle, $uid); $cid = get_contact($handle, $uid);
if ($cid > 0) { if ($cid > 0) {
/// @TODO Contact-retrival should be encapsulated into an "entity" class like `Contact` /// @TODO Contact retrieval should be encapsulated into an "entity" class like `Contact`
$r = q("SELECT * FROM `contact` WHERE `id` = %d LIMIT 1", intval($cid)); $r = q("SELECT * FROM `contact` WHERE `id` = %d LIMIT 1", intval($cid));
if (dbm::is_result($r)) { if (dbm::is_result($r)) {