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@9864 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
Thibault Le Meur committed Mar 8, 2011
1 parent 4449c86 commit e35150d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.php
Expand Up @@ -845,7 +845,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 e35150d

Please sign in to comment.