conditions cleanup

This commit is contained in:
Alexander Makarov
2013-04-16 00:17:15 +04:00
parent c49222f799
commit 8f7757a25c
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ class ActiveForm extends Widget
$models = array($models);
}
$showAll = isset($options['showAll']) && $options['showAll'];
$showAll = !empty($options['showAll']);
$lines = array();
/** @var $model Model */
foreach ($models as $model) {