From 7c376df205905473fa58be7314644dc77992842e Mon Sep 17 00:00:00 2001 From: RMKATBST Date: Fri, 20 Dec 2019 10:20:57 +0100 Subject: [PATCH] Fix for search function not working if "$hide_Cols=true" on non-Windows systems (#267) Setting $hide_Cols=true while having FM_IS_WIN=false will lead to a "Type error" when setting up the dataTable. The desired page is generated, but the Search function does not work, as the dataTable is broken. With this fix the dataTable is written accordingly, with either FM_IS_WIN or $hide_Cols set or unset. --- tinyfilemanager.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tinyfilemanager.php b/tinyfilemanager.php index 238f96f..cc3417a 100644 --- a/tinyfilemanager.php +++ b/tinyfilemanager.php @@ -1864,7 +1864,7 @@ $all_files_size = 0; - + - + '.fm_get_filesize($all_files_size).'' ?> '.$num_files.'' ?> '.$num_folders.'' ?>