From 0fd8afbef36692afdd46992ede3d96997b8be555 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 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;