]> git.mxchange.org Git - friendica.git/blobdiff - mod/videos.php
Merge branch 'develop' into rewrites/dbm_is_result
[friendica.git] / mod / videos.php
index 52176524a22431ae0e3861d513b1dc0c8b7d001a..58c4b6c6508bb4f5adaba776da6551aa487b3c92 100644 (file)
@@ -154,7 +154,7 @@ function videos_post(App &$a) {
                                intval(local_user())
                        );
                        //echo "<pre>"; var_dump($i); killme();
-                       if(count($i)) {
+                       if (dbm::is_result($i)) {
                                q("UPDATE `item` SET `deleted` = 1, `edited` = '%s', `changed` = '%s' WHERE `parent-uri` = '%s' AND `uid` = %d",
                                        dbesc(datetime_convert()),
                                        dbesc(datetime_convert()),