Browse Source

0.9.5

pull/1/head
Fred Tempez 4 years ago
parent
commit
a22311bb93
  1. 11
      core/vendor/filemanager/dialog.php

11
core/vendor/filemanager/dialog.php vendored

@ -234,16 +234,9 @@ if (!isset($_GET['type'])){
$extensions=null;
if (isset($_GET['extensions'])){
$extensions = json_decode(urldecode($_GET['extensions']));
$ext_tmp = array();
foreach($extensions as $extension){
$extension = fix_strtolower($extension);
if(in_array( $extension, $config['ext'])){
$ext_tmp[]=$extension;
}
}
$extensions = explode(',', urldecode($_GET['extensions']));
if($extensions){
$ext = $ext_tmp;
$ext = $extensions;
$show_filter_buttons = false;
}
}

Loading…
Cancel
Save