X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Ffiler.php;h=c0cca9e6df072e5a9495e0777db58a08592591b4;hb=60871555f539caec07f2dcfe37f11fc090bac1be;hp=3cd1bfe22ff7a67306ef8a67b73e7687bf0b382d;hpb=7127626f55f0ae5843d38145bf80022b98e4a8d8;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 -')),