fix

parent 949e41e4
...@@ -165,7 +165,7 @@ class RoleAdminController extends \common\components\AdminController ...@@ -165,7 +165,7 @@ class RoleAdminController extends \common\components\AdminController
'attribute' => 'last_logon', 'attribute' => 'last_logon',
'filter' => false, 'filter' => false,
'value' => function($model) { 'value' => function($model) {
return ($date->last_logon?date('d.m.Y H:i', $date->last_logon):null); return ($model->last_logon?date('d.m.Y H:i', $model->last_logon):null);
} }
] ]
]; ];
......
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