Update colona.v1.format.php

This commit is contained in:
Namhyeon Go 2019-09-26 17:08:55 +09:00 committed by GitHub
parent f3f696aa5e
commit a2d25ee30d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,11 +2,13 @@
// Go Namhyeon <gnh1201@gmail.com> // Go Namhyeon <gnh1201@gmail.com>
// 2019-09-25 // 2019-09-25
loadHelper("string.utils");
if(!check_function_exists("decode_colona_format") { if(!check_function_exists("decode_colona_format") {
function decode_colona_format($data) { function decode_colona_format($data) {
$lines = split_by_line(remove_utf8_bom($data)); if(loadHelper("string.utils")) {
$lines = split_by_line(remove_utf8_bom($data));
} else {
return false;
}
$jobargs = array(); $jobargs = array();
$eof = false; $eof = false;