]> git.mxchange.org Git - friendica.git/blobdiff - include/like.php
Without only the worker queue we don't need the deliverq anymore.
[friendica.git] / include / like.php
index 893047da3c252f9d6216c4271f87735d9b162f26..210bde690656e84e777c0b6771dc6ee57f867939 100644 (file)
@@ -112,8 +112,9 @@ function do_like($item_id, $verb) {
                        intval($_SESSION['visitor_id']),
                        intval($owner_uid)
                );
-               if (dbm::is_result($r))
+               if (dbm::is_result($r)) {
                        $contact = $r[0];
+               }
        }
        if (! $contact) {
                return false;