]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
single quote for values
authorAlexander Smirnov <fredeom@mail.ru>
Mon, 6 May 2024 11:49:35 +0000 (14:49 +0300)
committerAlexander Smirnov <fredeom@mail.ru>
Mon, 6 May 2024 11:49:35 +0000 (14:49 +0300)
erp24/records/UsersStopListSearch.php

index 7a63ec55ac4afeba6b5393b0e92ad21dc2124cfc..39315e5cc86ebb363a3aa9cd4ae6d531e5b9ba74 100644 (file)
@@ -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;