X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Ffiler.php;h=c0cca9e6df072e5a9495e0777db58a08592591b4;hb=4199f49b546aff71d940c7bb85a465fc63edc92d;hp=3cd1bfe22ff7a67306ef8a67b73e7687bf0b382d;hpb=53f799f2bc125fadf527e3c65e8e9882d53d9aea;p=friendica.git diff --git a/mod/filer.php b/mod/filer.php old mode 100755 new mode 100644 index 3cd1bfe22f..c0cca9e6df --- a/mod/filer.php +++ b/mod/filer.php @@ -22,7 +22,8 @@ function filer_content(&$a) { } else { // return filer dialog $filetags = get_pconfig(local_user(),'system','filetags'); - $filetags = explode("][", trim($filetags,"[]")); + $filetags = file_tag_file_to_list($filetags,'file'); + $filetags = explode(",", $filetags); $tpl = get_markup_template("filer_dialog.tpl"); $o = replace_macros($tpl, array( '$field' => array('term', t("Save to Folder:"), '', '', $filetags, t('- select -')),