Browse Source

Fixes #1106

tags/2.0.0-beta
Qiang Xue 11 years ago
parent
commit
50ba760277
  1. 2
      framework/yii/gii/generators/crud/templates/views/_search.php

2
framework/yii/gii/generators/crud/templates/views/_search.php

@ -34,7 +34,7 @@ foreach ($generator->getTableSchema()->getColumnNames() as $attribute) {
if (++$count < 6) {
echo "\t\t<?= " . $generator->generateActiveSearchField($attribute) . " ?>\n\n";
} else {
echo "\t\t<?= // " . $generator->generateActiveSearchField($attribute) . " ?>\n\n";
echo "\t\t<?php // echo " . $generator->generateActiveSearchField($attribute) . " ?>\n\n";
}
}
?>

Loading…
Cancel
Save