]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Attach.php
Changed "Photo::select(" to "Photo::selectToArray("
[friendica.git] / src / Model / Attach.php
index 716004ab32b75ad3f75714083e08d50f300fcbb2..758d3ae831c51ba112280a5f6fa49e8acd86e741 100644 (file)
@@ -55,8 +55,7 @@ class Attach extends BaseObject
                        $fields = self::getFields();
                }
 
-               $r = DBA::select('attach', $fields, $conditions, $params);
-               return DBA::toArray($r);
+               $r = DBA::selectToArray('attach', $fields, $conditions, $params);
        }
 
        /**