mirror of
https://github.com/misterunknown/ifm.git
synced 2025-08-09 17:46:31 +02:00
fixed wrong reference to forbiddenChars
This commit is contained in:
@@ -2897,7 +2897,7 @@ function IFM( params ) {
|
||||
return false;
|
||||
}
|
||||
// custom limitations
|
||||
foreach( $this->config->forbiddenChars as $char )
|
||||
foreach( $this->config['forbiddenChars'] as $char )
|
||||
if( strpos( $f, $char ) !== false )
|
||||
return false;
|
||||
return true;
|
||||
|
2
ifm.php
2
ifm.php
@@ -2897,7 +2897,7 @@ function IFM( params ) {
|
||||
return false;
|
||||
}
|
||||
// custom limitations
|
||||
foreach( $this->config->forbiddenChars as $char )
|
||||
foreach( $this->config['forbiddenChars'] as $char )
|
||||
if( strpos( $f, $char ) !== false )
|
||||
return false;
|
||||
return true;
|
||||
|
@@ -980,7 +980,7 @@ f00bar;
|
||||
return false;
|
||||
}
|
||||
// custom limitations
|
||||
foreach( $this->config->forbiddenChars as $char )
|
||||
foreach( $this->config['forbiddenChars'] as $char )
|
||||
if( strpos( $f, $char ) !== false )
|
||||
return false;
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user