Update catsplit.format.php

This commit is contained in:
Namhyeon Go 2019-06-06 12:14:34 +09:00 committed by GitHub
parent 1134d3f7a4
commit 61876c7566
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,8 +27,8 @@ if(!check_function_exists("catsplit_decode")) {
$s1 = explode(")<=(", substr($data, 1, -1));
// step 2
$s2a = explode(",", $s1[0]);
$s2b = explode(",", $s1[1]);
$s2a = array_map("trim", explode(",", $s1[0]));
$s2b = array_map("trim", explode(",", $s1[1]));
// step 3
$s3 = array_combine($s2b, $s2a);