Fix SplitSource.php for PHP < 5.5.
This commit is contained in:
parent
eafdf2ebed
commit
b41e36bea9
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user