Commit 707b0a55 by Alexander Makarov

Fixed incorrect inheritance of search model

parent 331b32ed
......@@ -245,7 +245,7 @@ use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
class PostSearch extends Model
class PostSearch extends Post
{
public function rules()
{
......
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