Skip to content

Commit

Permalink
sx_id добавлено поле для интеграции с suppliers-api.skeeks.com
Browse files Browse the repository at this point in the history
  • Loading branch information
skeeks-semenov committed Mar 2, 2024
1 parent 4677116 commit 53abe4f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/CmsSearchComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ public function getSearchQuery()
if (!$query = (string)\Yii::$app->request->get($this->searchQueryParamName)) {
$query = (string)\Yii::$app->request->post($this->searchQueryParamName);
}
$query = htmlspecialchars($query, ENT_QUOTES, 'UTF-8');

return $query;
}

Expand Down

0 comments on commit 53abe4f

Please sign in to comment.