diff --git a/index.php b/index.php index 78701a4..c368d8a 100644 --- a/index.php +++ b/index.php @@ -44,8 +44,9 @@ if (isset($_SESSION['files']) $filter=''; if (isset($_GET['f'])) { if ($_GET['f'] != '') { - $t = array('('=> '\(', ')' => '\)'); + $t = array('(' => '\(', ')' => '\)'); $f = strtr($_GET['f'], $t); + error_log('----------'.$f.'----------'); $files = array_values(preg_grep('/.*'.$f.'.*/i', $files)); $filter='&f='.$_GET['f']; }