Don't Reuse Variable Name
This commit is contained in:
parent
babf7d9a47
commit
5650d15de0
1 changed files with 2 additions and 2 deletions
|
@ -44,8 +44,8 @@ if (isset($_SESSION['files'])
|
||||||
$filter='';
|
$filter='';
|
||||||
if (isset($_GET['f'])) {
|
if (isset($_GET['f'])) {
|
||||||
if ($_GET['f'] != '') {
|
if ($_GET['f'] != '') {
|
||||||
$t = array('(' => '\(', ')' => '\)');
|
$tr = array('(' => '\(', ')' => '\)');
|
||||||
$f = strtr($_GET['f'], $t);
|
$f = strtr($_GET['f'], $tr);
|
||||||
$files = array_values(preg_grep('/.*'.$f.'.*/i', $files));
|
$files = array_values(preg_grep('/.*'.$f.'.*/i', $files));
|
||||||
$filter='&f='.$_GET['f'];
|
$filter='&f='.$_GET['f'];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue