Update gnuboard.dbt.php

This commit is contained in:
Namhyeon Go 2018-05-27 19:13:16 +09:00 committed by GitHub
parent 453eb396be
commit 5c9bbb6194
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -271,3 +271,12 @@ if(!function_exists("gnb_join_member")) {
return $result;
}
}
if(!function_exists("gnb_make_pipelined_data")) {
function gnb_make_pipelined_data($data, $delimiter="|") {
foreach($data as $k=>$v) {
$data[$k] = str_replace("|", "", $v);
}
return implode($delimiter, $data);
}
}