diff options
Diffstat (limited to 'src/Components/ArrayObj.php')
-rw-r--r-- | src/Components/ArrayObj.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Components/ArrayObj.php b/src/Components/ArrayObj.php index 6b90a3f..2d10ff1 100644 --- a/src/Components/ArrayObj.php +++ b/src/Components/ArrayObj.php @@ -160,7 +160,7 @@ class ArrayObj extends Component // (a) => array('a') // $lastRaw = trim($lastRaw); - if ((empty($options['type'])) + if (empty($options['type']) && ((strlen($lastRaw) > 0) || ($isCommaLast)) ) { $ret->raw[] = $lastRaw; |