Skip to content

Commit

Permalink
FIX: ensure correct group code is used when requiring a default group
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesDPC committed Feb 16, 2018
1 parent b75a037 commit 105d334
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/MailgunEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public function requireDefaultRecords() {

final private function createGroupsAndPermissions() {

$manager_code = 'MAILGUN_MANAGERS';
$manager_code = 'mailgun-managers';
$manager_group = \Group::get()->filter('Code', $manager_code)->first();
if(empty($manager_group->ID)) {
$manager_group = \Group::create();
Expand Down

0 comments on commit 105d334

Please sign in to comment.