Commit b4ba430a by Alexander Makarov

Reverted #3665 (reverted from commit 2aa39499)

parent b3c6d70c
......@@ -5,7 +5,6 @@ Yii Framework 2 gii extension Change Log
-----------------------
- Bug #6463: The Gii controller generator generates incorrect controller namespace (pana1990)
- Enh #3665: Improved Gii CRUD generated code to support setting initial conditions via initializing search model (mdmunir, fsateler, samdark)
2.0.1 December 07, 2014
......
......@@ -69,7 +69,7 @@ class <?= $searchModelClass ?> extends <?= isset($modelAlias) ? $modelAlias : $m
'query' => $query,
]);
if ($this->load($params) && !$this->validate()) {
if (!($this->load($params) && $this->validate())) {
return $dataProvider;
}
......
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