From: Alexander Smirnov Date: Mon, 6 May 2024 11:49:35 +0000 (+0300) Subject: single quote for values X-Git-Tag: 1.1~52^2 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=13dcb696de53f4c7787f6b94a3add8de14fc761b;p=erp24_rep%2Fyii-erp24%2F.git single quote for values --- diff --git a/erp24/records/UsersStopListSearch.php b/erp24/records/UsersStopListSearch.php index 7a63ec55..39315e5c 100644 --- a/erp24/records/UsersStopListSearch.php +++ b/erp24/records/UsersStopListSearch.php @@ -62,7 +62,7 @@ class UsersStopListSearch extends UsersStopList $query->andFilterWhere(['like', 'users_stop_list.name', $this->name]); $query->joinWith(['author' => function ($q) { - $q->where('admin.name LIKE "%' . $this->authorName . '%"'); + $q->where('admin.name LIKE \'%' . $this->authorName . '%\''); }]); return $dataProvider;