Skip to content

Commit

Permalink
Fixed issue: Cannot load previously saved response to resume, instead…
Browse files Browse the repository at this point in the history
… the message "There is no matching saved response" is shown after entering identifier and password
  • Loading branch information
c-schmitz committed Aug 16, 2022
1 parent 7618d2e commit fc69a9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/models/SurveyDynamic.php
Expand Up @@ -88,12 +88,12 @@ public function relations()
return array(
'survey' => array(self::HAS_ONE, 'Survey', array(), 'condition'=>('sid = '.self::$sid)),
'tokens' => array(self::HAS_ONE, 'TokenDynamic', array('token' => 'token')),
'saved_control' => array(self::HAS_ONE, 'SavedControl', array('srid' => 'id'))
'saved_control' => array(self::HAS_ONE, 'SavedControl', array('srid' => 'id'), 'condition'=>('sid = '.self::$sid))
);
}

return array(
'saved_control' => array(self::HAS_ONE, 'SavedControl', array('srid' => 'id'))
'saved_control' => array(self::HAS_ONE, 'SavedControl', array('srid' => 'id'), 'condition'=>('sid = '.self::$sid))
);
}

Expand Down

0 comments on commit fc69a9e

Please sign in to comment.