Skip to content

Commit

Permalink
category and article will always setUpdateSeo to true before checking…
Browse files Browse the repository at this point in the history
… to still have relevant check on multiple save calls.
  • Loading branch information
Buratinas authored and oxidci committed Oct 28, 2014
1 parent b547822 commit cbadaf8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions source/application/models/oxarticle.php
Expand Up @@ -3963,6 +3963,7 @@ protected function _insert()
protected function _update()
{

$this->setUpdateSeo(true);
$this->_setUpdateSeoOnFieldChange('oxtitle');

$this->_skipSaveFields();
Expand Down
1 change: 1 addition & 0 deletions source/application/models/oxcategory.php
Expand Up @@ -884,6 +884,7 @@ protected function _insert()
protected function _update()
{

$this->setUpdateSeo(true);
$this->_setUpdateSeoOnFieldChange('oxtitle');

$oDb = oxDb::getDb();
Expand Down

0 comments on commit cbadaf8

Please sign in to comment.