From 510d92aeb5d37c55e7233f2ae7c8f66fd2c8d026 Mon Sep 17 00:00:00 2001 From: Andrey Klochok Date: Wed, 20 May 2015 18:50:42 +0300 Subject: [PATCH] Fix Subscribe button --- views/ticket/_leftBlock.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/ticket/_leftBlock.php b/views/ticket/_leftBlock.php index 3ba7eea..a1f417c 100644 --- a/views/ticket/_leftBlock.php +++ b/views/ticket/_leftBlock.php @@ -92,7 +92,7 @@ beginFooter(); ?> - watchers) && array_keys(Yii::$app->user->identity->id, $model->watchers)) : ?> + user->identity->id, $model->watchers)) : ?>   ' . Yii::t('app', 'Unsubscribe'), ['unsubscribe', 'id' => $model->id], ['class' => 'btn btn-default btn-block']) ?>   ' . Yii::t('app', 'Subscribe'), ['subscribe', 'id' => $model->id], ['class' => 'btn btn-default btn-block']) ?>