]> _ Git - cubist_cms-back.git/commitdiff
wip #3157 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 21 Oct 2019 16:36:10 +0000 (18:36 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 21 Oct 2019 16:36:10 +0000 (18:36 +0200)
src/app/Magic/Controllers/CubistMagicController.php

index e880e1e015c5eed40319c6b4c69ac8a6f9879314..af40fea4a07e05f15eb9f60ead6f2f45eda6b312 100644 (file)
@@ -261,6 +261,7 @@ class CubistMagicController extends CubistCrudController
             if ($entry = $this->crud->model->find($id)) {
                 /** @var $entry CubistMagicAbstractModel */
                 $entry->setAttribute('status', $status);
+                $entry->save();
             }
         }