diff --git a/common/helpers/Html.php b/common/helpers/Html.php
index 1b4a73955..743efd558 100644
--- a/common/helpers/Html.php
+++ b/common/helpers/Html.php
@@ -232,7 +232,7 @@ protected static function beforVerify($route)
return true;
}
- if (Yii::$app->params['isAddon'] === false)
+ if (Yii::$app->params['inAddon'] === false)
{
return self::sysVerify($route[0]);
}
@@ -264,4 +264,4 @@ protected static function addonVerify($route)
$route = Url::regroupRoute($route);
return Auth::verify($route);
}
-}
\ No newline at end of file
+}