diff --git a/build/libifm.php b/build/libifm.php index faebeb8..7f87480 100644 --- a/build/libifm.php +++ b/build/libifm.php @@ -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; diff --git a/ifm.php b/ifm.php index 30e416d..48ba454 100644 --- a/ifm.php +++ b/ifm.php @@ -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; diff --git a/src/main.php b/src/main.php index e0ed9bb..729444e 100644 --- a/src/main.php +++ b/src/main.php @@ -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;