[BUGFIX] Enable "0" as token for TypoScript split function
[Packages/TYPO3.CMS.git] / typo3 / sysext / cms / tslib / class.tslib_content.php
index 4f1c6e1..20fafc0 100644 (file)
@@ -4129,7 +4129,7 @@ class tslib_cObj {
                $conf['token'] = isset($conf['token.'])
                        ? $this->stdWrap($conf['token'], $conf['token.'])
                        : $conf['token'];
-               if (!$conf['token']) {
+               if ($conf['token'] === '') {
                        return $value;
                }
                $conf['max'] = isset($conf['max.'])