From: Michael Johnston Date: Thu, 5 Apr 2012 03:08:16 +0000 (-0400) Subject: correct some filer dialog weirdness caused by introduction of categories X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=da0eb2d4c9bfad5eb329e9da7d0443f3f6327095;p=friendica.git correct some filer dialog weirdness caused by introduction of categories --- diff --git a/mod/filer.php b/mod/filer.php index 3cd1bfe22f..c0cca9e6df 100755 --- 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 -')),