Fix SplitSource.php for PHP < 5.5.

This commit is contained in:
levlam 2021-02-23 19:52:57 +03:00
parent eafdf2ebed
commit b41e36bea9

View File

@ -151,7 +151,8 @@ function split_file($file, $chunks, $undo) {
$in_define = false;
}
}
if (!empty(trim($current))) {
$current = trim($current);
if (!empty($current)) {
fwrite(STDERR, "ERROR: $current".PHP_EOL);
exit();
}