Index: sysext/cms/tslib/class.tslib_content.php =================================================================== --- sysext/cms/tslib/class.tslib_content.php (revision 6666) +++ sysext/cms/tslib/class.tslib_content.php (working copy) @@ -3489,13 +3489,9 @@ * @return string The output content stream * @see substituteSubpart(), substituteMarker(), substituteMarkerInObject(), TEMPLATE() */ - public function substituteMarkerArrayCached($content, array $markContentArray = NULL, array $subpartContentArray = NULL, array $wrappedSubpartContentArray = NULL) { + public function substituteMarkerArrayCached($content, array $markContentArray = array(), array $subpartContentArray = array(), array $wrappedSubpartContentArray = array()) { $GLOBALS['TT']->push('substituteMarkerArrayCached'); - // If not arrays then set them - if (is_null($markContentArray)) $markContentArray=array(); // Plain markers - if (is_null($subpartContentArray)) $subpartContentArray=array(); // Subparts being directly substituted - if (is_null($wrappedSubpartContentArray)) $wrappedSubpartContentArray=array(); // Subparts being wrapped // Finding keys and check hash: $sPkeys = array_keys($subpartContentArray); $wPkeys = array_keys($wrappedSubpartContentArray);