Commit 6690d1a9 authored by Shakarim Sapa's avatar Shakarim Sapa

- Fix

parent a0c55a0e
...@@ -6,7 +6,7 @@ use common\modules\cases\models\CasesBids; ...@@ -6,7 +6,7 @@ use common\modules\cases\models\CasesBids;
$userIsSubscribed = false; $userIsSubscribed = false;
$cacheEmail = Yii::$app->cache->get('user_email'); $cacheEmail = Yii::$app->cache->get('user_email');
if ($cacheEmail!==false && CasesBids::find()->where(['email' => $cacheEmail])->exists()===true) if ($cacheEmail!==false && CasesBids::find()->where(['email' => $cacheEmail])->exists()===true)
// $userIsSubscribed = true; $userIsSubscribed = true;
?> ?>
<?php if ($userIsSubscribed===false): ?> <?php if ($userIsSubscribed===false): ?>
...@@ -30,7 +30,7 @@ if ($cacheEmail!==false && CasesBids::find()->where(['email' => $cacheEmail])->e ...@@ -30,7 +30,7 @@ if ($cacheEmail!==false && CasesBids::find()->where(['email' => $cacheEmail])->e
<div class="message-box send_secce">Теперь вы подписаны на обновления кейсов.</div> <div class="message-box send_secce">Теперь вы подписаны на обновления кейсов.</div>
<div class="message-box send_err" style="color:red; left: 26%; top: 44%;"></div> <div class="message-box send_err" style="color:red; left: 21%; top: 56%;"></div>
<div class="content"> <div class="content">
......
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