From d5763b8d78bc5f8c329c0b0fa4fa64c4526d4d86 Mon Sep 17 00:00:00 2001 From: Roy Lindauer Date: Sun, 10 Nov 2013 18:22:05 -0800 Subject: [PATCH] Fix bug where options could not be overridden in PHPMessdetector plugin --- PHPCI/Plugin/PhpMessDetector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PHPCI/Plugin/PhpMessDetector.php b/PHPCI/Plugin/PhpMessDetector.php index 66944ad6..000f842e 100755 --- a/PHPCI/Plugin/PhpMessDetector.php +++ b/PHPCI/Plugin/PhpMessDetector.php @@ -115,7 +115,7 @@ class PhpMessDetector implements \PHPCI\Plugin protected function overrideSetting($options, $key) { - if (isset($options[$key]) && is_array($options['key'])) { + if (isset($options[$key]) && is_array($options[$key])) { $this->{$key} = $options[$key]; } }