Skip to content

Commit 11b7fd4

Browse files
committed
Merge branch 'main' into next
2 parents 240b378 + aeabaf3 commit 11b7fd4

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

app/code/core/Mage/Catalog/controllers/ProductController.php

+2
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ public function viewAction()
126126
} elseif (!$this->getResponse()->isRedirect()) {
127127
$this->_forward('noRoute');
128128
}
129+
} elseif (Mage::getIsDeveloperMode()) {
130+
Mage::printException($e);
129131
} else {
130132
Mage::logException($e);
131133
$this->_forward('noRoute');

app/code/core/Mage/Log/Model/Visitor.php

+1
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ public function saveByRequest($observer)
258258
}
259259

260260
try {
261+
$this->initServerData();
261262
$this->setLastVisitAt(Varien_Date::now());
262263
$this->save();
263264
$this->_session->setVisitorData($this->getData());

0 commit comments

Comments
 (0)