1
0
mirror of https://github.com/misterunknown/ifm.git synced 2025-08-10 10:04:01 +02:00

fixed wrong reference to forbiddenChars

This commit is contained in:
Marco Dickert
2017-07-25 13:49:29 +02:00
parent 0c8f058b81
commit 081f662416
3 changed files with 3 additions and 3 deletions

View File

@@ -2909,7 +2909,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

@@ -2909,7 +2909,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

@@ -993,7 +993,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;