diff --git a/Module.php b/Module.php index 069d675..306e92b 100644 --- a/Module.php +++ b/Module.php @@ -41,9 +41,9 @@ public function getConfigUrl() { */ public function enable() { - $social_invite=Yii::$app->getModule('social_invite'); - parent::enable(); + + $social_invite=Yii::$app->getModule('social_invite'); if ($social_invite->settings->get('theGroup') == '') { $social_invite->settings->set('theGroup', 0); diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 652d563..06a3f69 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,5 +1,10 @@ +### 1.1.2 + +bug fix + + ### 1.1.1 small edit diff --git a/module.json b/module.json index 5038a2e..f2a9098 100644 --- a/module.json +++ b/module.json @@ -11,7 +11,7 @@ "keywords": [ "users", "invite" ], - "version": "1.1.1", + "version": "1.1.2", "humhub": { "minVersion": "1.12.0" },