diff --git a/build/libifm.php b/build/libifm.php index 01fd21d..fe69dd8 100644 --- a/build/libifm.php +++ b/build/libifm.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; diff --git a/ifm.php b/ifm.php index 09ac7b2..81856e5 100644 --- a/ifm.php +++ b/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; diff --git a/src/main.php b/src/main.php index ca8b358..3373254 100644 --- a/src/main.php +++ b/src/main.php @@ -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;