fix settings update (thanks Gvx) closes #3
parent
073d9226ec
commit
78f1f6f8c7
|
@ -163,7 +163,7 @@ abstract class ImproveAction
|
||||||
*/
|
*/
|
||||||
final protected function setSettings($settings, $value = null)
|
final protected function setSettings($settings, $value = null)
|
||||||
{
|
{
|
||||||
$settings = is_array($settings) ? $settings : [$setting => $value];
|
$settings = is_array($settings) ? $settings : [$settings => $value];
|
||||||
foreach($settings as $k => $v) {
|
foreach($settings as $k => $v) {
|
||||||
$this->settings[$k] = $v;
|
$this->settings[$k] = $v;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue