Fixed bug #17372: stdWrap .current and .setContentToCurrent do not return content
authorJeff Segars <jsegars@alumni.rice.edu>
Fri, 28 Jan 2011 17:11:21 +0000 (17:11 +0000)
committerJeff Segars <jsegars@alumni.rice.edu>
Fri, 28 Jan 2011 17:11:21 +0000 (17:11 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@10350 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/tslib/class.tslib_content.php

index 73ae986..faa7119 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-01-28  Jeff Segars  <jeff@webempoweredchurch.org>
+
+       * Fixed bug #17372: stdWrap .current and .setContentToCurrent do not return content
+
 2011-01-26  Ernesto Baschny  <ernesto.baschny@typo3.org>
 
        * Release of TYPO3 4.5.0
 2011-01-26  Ernesto Baschny  <ernesto.baschny@typo3.org>
 
        * Release of TYPO3 4.5.0
index b7698e0..b342527 100644 (file)
@@ -2086,6 +2086,7 @@ class tslib_cObj {
         */
        public function stdWrap_setContentToCurrent($content = '', $conf = array()) {
                $this->data[$this->currentValKey] = $content;
         */
        public function stdWrap_setContentToCurrent($content = '', $conf = array()) {
                $this->data[$this->currentValKey] = $content;
+               return $content;
        }
 
        /**
        }
 
        /**
@@ -2098,6 +2099,7 @@ class tslib_cObj {
         */
        public function stdWrap_setCurrent($content = '', $conf = array()) {
                $this->data[$this->currentValKey] = $conf['setCurrent'];
         */
        public function stdWrap_setCurrent($content = '', $conf = array()) {
                $this->data[$this->currentValKey] = $conf['setCurrent'];
+               return $content;
        }
 
        /**
        }
 
        /**