fix settings update (thanks Gvx) closes #3

master
Jean-Christian Paul Denis 2021-10-29 20:08:35 +02:00
parent 073d9226ec
commit 78f1f6f8c7
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ abstract class ImproveAction
*/
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) {
$this->settings[$k] = $v;
}