Commits

Michael Chemezov  committed 3779ca3

php 5.3 fix

  • Participants
  • Parent commits 1a64983

Comments (0)

Files changed (1)

File protected/modules/usersession/views/default/view.php

 	</h1>
 </div>
 
+<?php $closed_list = $model->getClosedList(); ?>
 <?php $this->widget('bootstrap.widgets.TbDetailView', array(
 	'data'       => $model,
 	'attributes' => array(
 		'count',
 		array(
 			'name'  => 'closed',
-			'value' => $model->getClosedList()[$model->closed],
+			'value' => $closed_list[$model->closed],
 		),
 		array(
 			'label' => 'Правильных ответов',