1
0
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:
Marco Dickert
2017-07-25 13:49:29 +02:00
parent 8ed757769b
commit 0fd8afbef3
3 changed files with 3 additions and 3 deletions

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;