Skip to content

Commit

Permalink
Fixed issue #4744: token-based retrieve only works when save button i…
Browse files Browse the repository at this point in the history
…s active

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_dev@9865 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
Thibault Le Meur committed Mar 8, 2011
1 parent 5f13c1b commit 6f6dac3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.php
Expand Up @@ -844,7 +844,8 @@
require_once("save.php");

// RELOAD THE ANSWERS INCASE SOMEONE ELSE CHANGED THEM
if ($thissurvey['active'] == "Y" && $thissurvey['allowsave'] == "Y")
if ($thissurvey['active'] == "Y" &&
( $thissurvey['allowsave'] == "Y" || $thissurvey['tokenanswerspersistence'] == "Y") )
{
loadanswers();
}
Expand Down

0 comments on commit 6f6dac3

Please sign in to comment.