+2009-11-05 Rupert Germann <rupi@gmx.li>
+
+ * Fixed bug #12466: PHP-5.3 Warning: strlen() expects parameter 1 to be string, array given
+
2009-11-05 Oliver Hader <oliver@typo3.org>
* Fixed bug #12441: IRRE - Cannot add new elements on second level of nesting
if (array_key_exists($key, $this->content)) {
$oldcontent = $this->content[$key];
}
- if (!isset($content) || !strlen($content)) {
+ if (!isset($content) || empty($content)) {
unset($this->content[$key]);
- } elseif (!isset($key) || !strlen($key)) {
+ } elseif (!isset($key) || empty($key)) {
$this->content[] = $content;
} else {
$this->content[$key] = $content;