From 61876c75664e64f623a86c24a88f7a48582ca269 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Thu, 6 Jun 2019 12:14:34 +0900 Subject: [PATCH] Update catsplit.format.php --- helper/catsplit.format.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helper/catsplit.format.php b/helper/catsplit.format.php index c3e3b8d..3b66c57 100644 --- a/helper/catsplit.format.php +++ b/helper/catsplit.format.php @@ -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);