]> git.mxchange.org Git - friendica.git/blobdiff - mod/wall_upload.php
This merge brings back dbm::is_result() where I could find it.
[friendica.git] / mod / wall_upload.php
index b815348c7010baddd103553dc653f83da416ce86..d2915d4de3075efcde64e77b6397832df0034819 100644 (file)
@@ -63,7 +63,7 @@ function wall_upload_post(&$a, $desktopmode = true) {
                                        intval($cid),
                                        intval($page_owner_uid)
                                );
-                               if(count($r)) {
+                               if(dbm::is_result($r)) {
                                        $can_post = true;
                                        $visitor = $cid;
                                }