AntonLV пре 7 година
родитељ
комит
822adc0855
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      studio/classes/BxDolStudioPage.php

+ 1 - 1
studio/classes/BxDolStudioPage.php

@@ -164,7 +164,7 @@ class BxDolStudioPage extends BxDol
         $oSession = BxDolSession::getInstance();
         $oSession = BxDolSession::getInstance();
         $aHistory = $oSession->getValue($sHistorySessionKey);
         $aHistory = $oSession->getValue($sHistorySessionKey);
         if(!empty($aHistory) && isset($aHistory[$this->aPage['name']]))
         if(!empty($aHistory) && isset($aHistory[$this->aPage['name']]))
-            unset($aHistory[$this->aPage['name']]);
+            return;
 
 
         $aHistory[$this->aPage['name']] = array(
         $aHistory[$this->aPage['name']] = array(
             'name' => $this->aPage['name'],
             'name' => $this->aPage['name'],