Skip to content

Commit

Permalink
Fixed issue #8143: Survey crashes when changes are made
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Sep 26, 2013
1 parent babfa3e commit 2f450a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions application/helpers/expressions/em_manager_helper.php
Expand Up @@ -4100,6 +4100,7 @@ static function NavigateBackwards()
while (true)
{
$LEM->currentQset = array(); // reset active list of questions
if (is_null($LEM->currentGroupSeq)) {$LEM->currentGroupSeq=0;} // If moving backwards in preview mode and a question was removed then $LEM->currentGroupSeq is NULL and an endless loop occurs.
if (--$LEM->currentGroupSeq < 0)
{
$message .= $LEM->_UpdateValuesInDatabase($updatedValues,false);
Expand Down

1 comment on commit 2f450a1

@Shnoulle
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great !

Really annoying :)

Thanks

Please sign in to comment.