[TYPO3-core] RFC bug #16902: Fatal error in tslib_content_text (was: No FE output)
JoH asenau
info at cybercraft.de
Wed Jan 12 19:46:02 CET 2011
Hi,
This is a SVN patch request
Type: Bugfix
Bugtracker reference: http://bugs.typo3.org/view.php?id=16902
Branches: trunk
Problem:
Fatal error: Cannot unset string offsets in
/home/typo3_src-4.5.0beta3/typo3/sysext/cms/tslib/content/class.tslib_content_text.php
on line 46
This happens when you haven't got a "value" key in a TEXT element and
still apply some other stdWrap functions to it.
Solution:
Check if the key is set else skip the unset() command.
Attached patch does exactly that.
Cheers
Joey
--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 16902.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110112/34b45c91/attachment.txt>
More information about the TYPO3-team-core
mailing list