Project

General

Profile

Bug #23541 ยป 15712.patch

Administrator Admin, 2011-01-02 09:52

View differences:

typo3/sysext/cms/tslib/class.tslib_gifbuilder.php (working copy)
// Max length = 100 if automatic line braks are not defined:
if (!isset($conf['breakWidth']) || !$conf['breakWidth']) {
$tlen = (intval($conf['textMaxLength']) ? intval($conf['textMaxLength']) : 100);
$conf['text'] = substr($conf['text'], 0, $tlen);
if ($this->nativeCharset) {
$conf['text'] = $this->csConvObj->substr($this->nativeCharset, $conf['text'], 0, $tlen);
} else {
$conf['text'] = substr($conf['text'], 0 , $tlen);
}
}
if ((string)$conf['text']!='') {
    (1-1/1)