From 5a6d04197c48b9db4c25d17e11c01dfa80d5d1c4 Mon Sep 17 00:00:00 2001 From: philo85 Date: Tue, 19 May 2020 11:37:22 +0200 Subject: [PATCH] Fix PHPThumb.php missing some $'s --- src/PHPThumb/PHPThumb.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PHPThumb/PHPThumb.php b/src/PHPThumb/PHPThumb.php index 34e34a7..d421e4d 100644 --- a/src/PHPThumb/PHPThumb.php +++ b/src/PHPThumb/PHPThumb.php @@ -65,8 +65,8 @@ public function __construct($fileName, array $options = array(), array $plugins $this->plugins = array(); - if (is_array(plugins)) { - $cnt = count(plugins); + if (is_array($plugins)) { + $cnt = count($plugins); for ($i = 0; $i < $cnt; $i++) { if ($plugins[$i] instanceof \PHPThumb\PluginInterface) $this->$plugins[] = $plugins[$i];