Skip to content
This repository was archived by the owner on Oct 19, 2022. It is now read-only.

Commit 8ca90c2

Browse files
author
Edwin Jacobs
committed
Moved parent call
1 parent 012bc8d commit 8ca90c2

File tree

1 file changed

+1
-2
lines changed
  • app/code/local/Emico/AttributeLanding/Model/Resource

1 file changed

+1
-2
lines changed

app/code/local/Emico/AttributeLanding/Model/Resource/Page.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,13 @@ protected function _afterLoad(Mage_Core_Model_Abstract $object)
7373
*/
7474
protected function _beforeSave(Mage_Core_Model_Abstract $object)
7575
{
76-
parent::_beforeSave($object);
7776
// Trim leading and trailing slashes
7877
$urlPath = $object->getData('url_path');
7978
$urlPath = trim($urlPath, '/');
8079

8180
$object->setData('url_path', $urlPath);
8281

83-
return $this;
82+
return parent::_beforeSave($object);
8483
}
8584

8685
/**

0 commit comments

Comments
 (0)