FIX data too long in ticket message
This commit is contained in:
parent
8d5a3c6bae
commit
b27d4fa524
@ -381,6 +381,7 @@ class Ticket extends CommonObject
|
||||
|
||||
if (isset($this->message)) {
|
||||
$this->message = trim($this->message);
|
||||
if (dol_strlen($this->message) > 65000) $this->message = dol_substr($this->message, 0, 65000, 'UTF-8') . '...';
|
||||
}
|
||||
|
||||
if (isset($this->fk_statut)) {
|
||||
@ -915,6 +916,7 @@ class Ticket extends CommonObject
|
||||
|
||||
if (isset($this->message)) {
|
||||
$this->message = trim($this->message);
|
||||
if (dol_strlen($this->message) > 65000) $this->message = dol_substr($this->message, 0, 65000, 'UTF-8') . '...';
|
||||
}
|
||||
|
||||
if (isset($this->fk_statut)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user