]> git.mxchange.org Git - friendica.git/blobdiff - mod/starred.php
Merge remote-tracking branch 'friendica/develop' into develop
[friendica.git] / mod / starred.php
index 2a89ac768bae20cb3150c48b3d5a841347790611..27f924e44b5452abad9c95ca3ec655019f83b23e 100644 (file)
@@ -18,7 +18,7 @@ function starred_init(&$a) {
                intval(local_user()),
                intval($message_id)
        );
-       if(! count($r))
+       if(! dbm::is_result($r))
                killme();
 
        if(! intval($r[0]['starred']))