Fix bug where options could not be overridden in PHPMessdetector plugin

This commit is contained in:
Roy Lindauer 2013-11-10 18:22:05 -08:00
parent 136d5eff5d
commit d5763b8d78

View file

@ -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];
}
}