diff --git a/common/framework/sms.php b/common/framework/sms.php index 26ae2b8e0..41fe7c895 100644 --- a/common/framework/sms.php +++ b/common/framework/sms.php @@ -243,6 +243,7 @@ class SMS public function setBody($content) { $this->content = utf8_trim(utf8_clean($content)); + $this->content = strtr($this->content, array("\r\n" => "\n")); return true; }