mirror of
https://github.com/retailcrm/legacy.git
synced 2024-11-22 13:26:03 +03:00
fix after upstream merge
This commit is contained in:
commit
f21576b2c2
@ -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');
|
||||
|
2
retailcrm/src/Vendor/Fetch/Server.php
vendored
2
retailcrm/src/Vendor/Fetch/Server.php
vendored
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user