Alex Trofimov vor 12 Jahren
Ursprung
Commit
deb4c0f5ce

+ 0 - 1
inc/classes/BxDolProfileForms.php

@@ -19,7 +19,6 @@ class BxDolProfileForms extends BxDol {
         parent::__construct ();
     }
 
-    // TODO: remake all calls and include markers with content and profile id at least
     protected function _redirectAndExit ($sUrl, $isPermalink = true, $aMarkers = false) {
         if ($isPermalink) {
             bx_import('BxDolPermalinks');

+ 4 - 1
modules/base/general/classes/BxBaseModGeneralFormsEntryHelper.php

@@ -154,7 +154,10 @@ class BxBaseModGeneralFormsEntryHelper extends BxDolProfileForms
 
         // redirect
         bx_import('BxDolPermalinks');
-        $this->_redirectAndExit(BxDolPermalinks::getInstance()->permalink($CNF['URL_HOME']));
+        $this->_redirectAndExit($CNF['URL_HOME'], true, array(
+            'account_id' => $oProfile->getAccountId(),
+            'profile_id' => $oProfile->id(),
+        ));
     }
 
     public function viewDataForm ($iContentId, $sDisplay = false)