From 081f662416b2d714f8b04bb7688f9e42c5427ac7 Mon Sep 17 00:00:00 2001 From: Marco Dickert Date: Tue, 25 Jul 2017 13:49:29 +0200 Subject: [PATCH] fixed wrong reference to forbiddenChars --- build/libifm.php | 2 +- ifm.php | 2 +- src/main.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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;