Browse Source

Fix Group\Save

Visman 3 years ago
parent
commit
310274abfb
1 changed files with 5 additions and 0 deletions
  1. 5 0
      app/Models/Group/Save.php

+ 5 - 0
app/Models/Group/Save.php

@@ -51,6 +51,11 @@ class Save extends Action
         $this->c->DB->exec($query, $vars);
         $this->c->DB->exec($query, $vars);
         $group->resModified();
         $group->resModified();
 
 
+        // сбросить кеш для гостя
+        if ($group->groupGuest) {
+            $this->c->users->resetGuest();
+        }
+
         return $group;
         return $group;
     }
     }