diff --git a/retailcrm/src/Components/Container.php b/retailcrm/src/Components/Container.php index a54b784..965badb 100644 --- a/retailcrm/src/Components/Container.php +++ b/retailcrm/src/Components/Container.php @@ -59,6 +59,7 @@ class Container ); $this->db->exec("set names utf8"); + $this->db->exec("set global group_concat_max_len = 1000000"); $this->db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING); } catch (PDOException $e) { CommandHelper::activateNotice('database'); diff --git a/retailcrm/src/Vendor/Fetch/Server.php b/retailcrm/src/Vendor/Fetch/Server.php index 45877cc..5409fe8 100644 --- a/retailcrm/src/Vendor/Fetch/Server.php +++ b/retailcrm/src/Vendor/Fetch/Server.php @@ -380,7 +380,7 @@ class Server public function getMessageByUid($uid) { try { - $message = new Fetch\Message($uid, $this); + $message = new Message($uid, $this); return $message; } catch (\Exception $e) {