Skip to content

Commit

Permalink
Fixed issue: saveall display even if completed
Browse files Browse the repository at this point in the history
  • Loading branch information
ImperatorTheo authored and LouisGac committed May 30, 2017
1 parent 7de87f6 commit 52defe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/replacements_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ function templatereplace($line, $replacements = array(), &$redata = array(), $de
{
$_datestamp = '-';
}
if (isset($thissurvey['allowsave']) and $thissurvey['allowsave'] == "Y")
if (isset($thissurvey['allowsave']) and $thissurvey['allowsave'] == "Y" && !$iscompleted)
{
$_saveall = doHtmlSaveAll(isset($move)?$move:NULL);
$_savelinks = doHtmlSaveLinks(isset($move)?$move:NULL);
Expand Down

0 comments on commit 52defe9

Please sign in to comment.