]> git.mxchange.org Git - friendica.git/blobdiff - mod/poco.php
Merge branch 'rewrites/dbm_is_result' of github.com:Quix0r/friendica into rewrites...
[friendica.git] / mod / poco.php
index 94dac77eef824932d4cb475a71e99f03cb6060b8..557f401eae7d7daf706191806b1da8f96b24329c 100644 (file)
@@ -173,7 +173,7 @@ function poco_init(&$a) {
        }
 
        if(is_array($r)) {
-               if(count($r) > 0) {
+               if(dbm::is_result($r)) {
                        foreach($r as $rr) {
                                if (!isset($rr['generation'])) {
                                        if ($global)