]> git.mxchange.org Git - friendica.git/blobdiff - mod/filer.php
Bugfix: dba::num_rows hadn't checked the object variable
[friendica.git] / mod / filer.php
index 4e79f337dcff22502ac15d4c0673872253678312..6259879de2ae9d6d31ad8ac722b9a4747e77ca88 100644 (file)
@@ -1,13 +1,14 @@
 <?php
 
+use Friendica\App;
+
 require_once('include/security.php');
 require_once('include/bbcode.php');
 require_once('include/items.php');
 
+function filer_content(App $a) {
 
-function filer_content(&$a) {
-
-       if(! local_user()) {
+       if (! local_user()) {
                killme();
        }
 
@@ -30,7 +31,7 @@ function filer_content(&$a) {
                        '$field' => array('term', t("Save to Folder:"), '', '', $filetags, t('- select -')),
                        '$submit' => t('Save'),
                ));
-               
+
                echo $o;
        }
        killme();