Browse Source

fixed typo

tags/2.0.0-beta
Carsten Brandt 11 years ago
parent
commit
a70808f8fb
  1. 2
      docs/guide/query-builder.md

2
docs/guide/query-builder.md

@ -167,7 +167,7 @@ $search = 'yii';
$query->where(['status' => $status]); $query->where(['status' => $status]);
if (!empty($search)) { if (!empty($search)) {
$query->addWhere(['like', 'title', $search]); $query->andWhere(['like', 'title', $search]);
} }
``` ```

Loading…
Cancel
Save