aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-04-04 20:23:20 -0700
committerfriendica <info@friendica.com>2012-04-04 20:23:20 -0700
commitd509a463452585bcbb9fccd07857871ca5c8b063 (patch)
treead54ff6a49e503a0218a301ef8e362fb6e08c6ea /mod
parentc4ca21a7627f0f447b944f166fd3d2d4a7552f46 (diff)
parentda0eb2d4c9bfad5eb329e9da7d0443f3f6327095 (diff)
downloadvolse-hubzilla-d509a463452585bcbb9fccd07857871ca5c8b063.tar.gz
volse-hubzilla-d509a463452585bcbb9fccd07857871ca5c8b063.tar.bz2
volse-hubzilla-d509a463452585bcbb9fccd07857871ca5c8b063.zip
Merge pull request #205 from unary/filerfix
correct some filer dialog weirdness caused by introduction of categories
Diffstat (limited to 'mod')
-rwxr-xr-xmod/filer.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/filer.php b/mod/filer.php
index 3cd1bfe22..c0cca9e6d 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 -')),