correct some filer dialog weirdness caused by introduction of categories
This commit is contained in:
parent
c4ca21a762
commit
da0eb2d4c9
1 changed files with 2 additions and 1 deletions
|
@ -22,7 +22,8 @@ function filer_content(&$a) {
|
||||||
} else {
|
} else {
|
||||||
// return filer dialog
|
// return filer dialog
|
||||||
$filetags = get_pconfig(local_user(),'system','filetags');
|
$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");
|
$tpl = get_markup_template("filer_dialog.tpl");
|
||||||
$o = replace_macros($tpl, array(
|
$o = replace_macros($tpl, array(
|
||||||
'$field' => array('term', t("Save to Folder:"), '', '', $filetags, t('- select -')),
|
'$field' => array('term', t("Save to Folder:"), '', '', $filetags, t('- select -')),
|
||||||
|
|
Loading…
Reference in a new issue