Ken преди 1 седмица
родител
ревизия
5c9624452c
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/Services/BaseService.php

+ 1 - 1
app/Services/BaseService.php

@@ -204,7 +204,7 @@ class BaseService
         foreach ($array as $item) {
             if (count($texts) == 0) {
                 $texts[] = $item . "\n";
-            } else if (strlen($texts[count($texts) - 1] . $item) <= 4096) {
+            } else if (strlen($texts[count($texts) - 1] . $item) <= 4095) {
                 $texts[count($texts) - 1] .= $item . "\n";
             } else {
                 $texts[] = $item . "\n";