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']) ?>