Ticket #29676: fixes unreplaced marker
authorivankartolo <ivankartolo@735d13b6-9817-0410-8766-e36946ffe9aa>
Thu, 6 Oct 2011 21:51:04 +0000 (21:51 +0000)
committerivankartolo <ivankartolo@735d13b6-9817-0410-8766-e36946ffe9aa>
Thu, 6 Oct 2011 21:51:04 +0000 (21:51 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/direct_mail_subscription/trunk@52789 735d13b6-9817-0410-8766-e36946ffe9aa

ChangeLog
fe_adminLib.inc

index 033bc41..8fa22ea 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2011-20-06 Ivan Kartolo <ivan.kartolo@dkd.de>
+       # #29676: fixes unreplaced marker
+       
 2011-03-01 Ivan Kartolo <ivan.kartolo@dkd.de>
        * #12968: added captcha to infomail form.
        * Added README file
index 7b09465..dce00f8 100644 (file)
@@ -876,6 +876,11 @@ class user_feAdmin {
 
                                        $this->currentArr = $GLOBALS['TSFE']->sys_page->getRawRecord($this->theTable,$newId);
                                        $this->userProcess_alt($this->conf['create.']['userFunc_afterSave'],$this->conf['create.']['userFunc_afterSave.'],array('rec'=>$this->currentArr));
+
+                                       // reloading the currentArr from the DB so that any DB changes in userFunc is taken into account
+                                       unset($this->currentArr);
+                                       $this->currentArr = $GLOBALS['TSFE']->sys_page->getRawRecord($this->theTable,$newId);
+                                       
                                        $this->saved=1;
                                }
                        break;