From 13dcb696de53f4c7787f6b94a3add8de14fc761b Mon Sep 17 00:00:00 2001 From: Alexander Smirnov Date: Mon, 6 May 2024 14:49:35 +0300 Subject: [PATCH] single quote for values --- erp24/records/UsersStopListSearch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erp24/records/UsersStopListSearch.php b/erp24/records/UsersStopListSearch.php index 7a63ec5..39315e5 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; -- 2.39.5