Fix even more Warnings
This commit is contained in:
parent
80b245775f
commit
0509d0d69d
1 changed files with 4 additions and 2 deletions
|
@ -70,7 +70,9 @@ if (isset($_GET['f'])) {
|
||||||
if ($_GET['f'] != '') {
|
if ($_GET['f'] != '') {
|
||||||
$tr = array('(' => '\(', ')' => '\)');
|
$tr = array('(' => '\(', ')' => '\)');
|
||||||
$f = strtr($_GET['f'], $tr);
|
$f = strtr($_GET['f'], $tr);
|
||||||
|
if (!empty($files))
|
||||||
$files = array_values(preg_grep('/.*'.$f.'.*/i', $files));
|
$files = array_values(preg_grep('/.*'.$f.'.*/i', $files));
|
||||||
|
if (!empty($dirs))
|
||||||
$dirs = array_values(preg_grep('/.*'.$f.'.*/i', $dirs));
|
$dirs = array_values(preg_grep('/.*'.$f.'.*/i', $dirs));
|
||||||
$filter='&f='.$_GET['f'];
|
$filter='&f='.$_GET['f'];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue