Commit ed00c060 authored by Shakarim Sapa's avatar Shakarim Sapa

- Проверяем выведение ошибки

parent 18831b0a
...@@ -6,7 +6,7 @@ use \common\modules\blog\models\BlogBids; ...@@ -6,7 +6,7 @@ use \common\modules\blog\models\BlogBids;
$userIsSubscribed = false; $userIsSubscribed = false;
$cacheEmail = Yii::$app->cache->get('user_email'); $cacheEmail = Yii::$app->cache->get('user_email');
if ($cacheEmail!==false && BlogBids::find()->where(['email' => $cacheEmail])->exists()===true) if ($cacheEmail!==false && BlogBids::find()->where(['email' => $cacheEmail])->exists()===true)
$userIsSubscribed = true; // $userIsSubscribed = true;
?> ?>
<?php if ($userIsSubscribed===false): ?> <?php if ($userIsSubscribed===false): ?>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment