]> git.mxchange.org Git - friendica.git/blobdiff - mod/editpost.php
Merge branch 'develop' into rewrites/dbm_is_result
[friendica.git] / mod / editpost.php
index 1bf150a5dd77603d38ec7c5351a0c1b6f28f1480..a655801d7727ec11b60837fd3e2fbb4fcc76bc13 100644 (file)
@@ -23,7 +23,7 @@ function editpost_content(App &$a) {
                intval(local_user())
        );
 
-       if (! count($itm)) {
+       if (! dbm::is_result($itm)) {
                notice( t('Item not found') . EOL);
                return;
        }