| @@ -81,9 +81,9 @@ | ||
| 81 | 81 | |
| 82 | 82 | if (isset($data['logs'])) |
| 83 | 83 | { |
| 84 | 84 | // make sure the logs length does not exceed the maximum number of allowed characters (65535) |
| 85 | - $data['logs'] = mb_substr($data['logs'], 0, pow(2, 16) - 1, 'UTF-8'); | |
| 85 | + $data['logs'] = substr($data['logs'], 0, pow(2, 16) - 1); | |
| 86 | 86 | } |
| 87 | 87 | |
| 88 | 88 | return parent::preflight($data); |
| 89 | 89 | } |