]> git.mxchange.org Git - friendica.git/blobdiff - mod/item.php
converted more to dbm::is_result() + added braces/space
[friendica.git] / mod / item.php
index a11845e55f12be1c708197607afe313c4844a6d6..864aa18e5161cf2d086c56f23b5d0cd32ed0f1df 100644 (file)
@@ -224,8 +224,9 @@ function item_post(App &$a) {
                        intval($profile_uid),
                        intval($post_id)
                );
-               if(! count($i))
+               if (! dbm::is_result($i)) {
                        killme();
+               }
                $orig_post = $i[0];
        }