fix: unfuck icon deletion

This commit is contained in:
b1ek 2024-08-21 11:50:20 +10:00
parent 917abfc03c
commit 1e7fe9aafe
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ class ListController extends \yii\web\Controller
return $this->redirect('/list');
}
$param->setAttribute($type == 'normal' ? 'icon' : 'icon_gray', null);
$param->setAttribute($type == 'normal' ? 'icon_id' : 'icon_gray_id', null);
$param->save();
return $this->redirect('/list?ParameterSearch[id]='. $id);
}