Commit 4d651bf08f0fa83db16049401d20bc822407a3ae
1 parent
fccb31d5
sitemap controller not like noindex
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
console/controllers/SiteMapController.php
| @@ -77,8 +77,7 @@ class SiteMapController extends Controller | @@ -77,8 +77,7 @@ class SiteMapController extends Controller | ||
| 77 | 77 | ||
| 78 | public function getBlocked() { | 78 | public function getBlocked() { |
| 79 | 79 | ||
| 80 | - Seo::find()->where(['like', 'meta', 'noindex'])->all(); | ||
| 81 | - | 80 | + Seo::find()->andWhere(['like', 'meta', 'noindex'])->all(); |
| 82 | 81 | ||
| 83 | } | 82 | } |
| 84 | 83 |