Commit e8890ee0 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Remove noisy logging from unset 'selectfolders' config on filebrowser element


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent 3329c23b
......@@ -216,7 +216,7 @@ function pieform_element_filebrowser_build_filelist($form, $element, $folder, $h
$userid = ($group || $institution) ? null : $USER->get('id');
$editable = (int) $element['config']['edit'];
$selectable = (int) $element['config']['select'];
$selectfolders = (int) $element['config']['selectfolders'];
$selectfolders = (int) !empty($element['config']['selectfolders']);
$publishing = (int) !empty($element['config']['publishing']);
$querybase = $element['page'] . (strpos($element['page'], '?') === false ? '?' : '&');
$prefix = $form->get_name() . '_' . $element['name'];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment