|
|
@@ -201,7 +201,13 @@ class BaseService
|
|
|
$bettingGroup = Config::where('field', 'betting_group')->first()->val;
|
|
|
// $separator = "\n";
|
|
|
$array = explode($separator, $text);
|
|
|
- foreach ($array as &$line) $line .= $separator;
|
|
|
+ foreach ($array as &$line) {
|
|
|
+ if ($line == "\n" || $line == "") {
|
|
|
+ unset($line);
|
|
|
+ } else {
|
|
|
+ $line .= $separator;
|
|
|
+ }
|
|
|
+ }
|
|
|
$texts = [];
|
|
|
$len = 4096;
|
|
|
if (!empty($image)) $len = 1024;
|