diff --git a/src/controllers/AdminCurrencyController.php b/src/controllers/AdminCurrencyController.php index cb67ea0..e0ad440 100644 --- a/src/controllers/AdminCurrencyController.php +++ b/src/controllers/AdminCurrencyController.php @@ -31,7 +31,7 @@ public function init() $this->generateAccessActions = false; $this->accessCallback = function () { - if (!\Yii::$app->cms->site->is_default) { + if (!\Yii::$app->skeeks->site->is_default) { return false; } return \Yii::$app->user->can($this->uniqueId);