Skip to content

Commit

Permalink
Prevent text duplication on double save
Browse files Browse the repository at this point in the history
  • Loading branch information
zerocrates committed Jun 16, 2015
1 parent a3230ed commit 0f7c8ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions application/models/Mixin/ElementText.php
Expand Up @@ -683,6 +683,7 @@ public function saveElementTexts()
// Cause texts to be re-loaded if accessed after save.
$this->_recordsAreLoaded = false;
$this->_replaceElementTexts = false;
$this->_textsToSave = array();
}

/**
Expand Down

0 comments on commit 0f7c8ed

Please sign in to comment.