wiki update

This commit is contained in:
2020-05-07 01:58:34 -05:00
parent ace2648480
commit 5f23fa3a19

View File

@@ -134,7 +134,7 @@ class WikiHelper {
*/ */
public function AddNewUserGroup($groupName, $description) { public function AddNewUserGroup($groupName, $description) {
//Check if the user group already exists //Check if the user group already exists
DokuGroupNames::where(['gname' => $groupName])->count(); $count = DokuGroupNames::where(['gname' => $groupName])->count();
if($count == 0) { if($count == 0) {
DokuGroupNames::insert([ DokuGroupNames::insert([