Skip to content

Commit

Permalink
Fixed issue #17372: Importing LSQ fails with files generated from LSv4+
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Jun 21, 2021
1 parent f323b86 commit 7e6e100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/admin/import_helper.php
Expand Up @@ -947,7 +947,7 @@ function XMLImportQuestion($sFullFilePath, $iNewSID, $iNewGID, $options = array(
}
unset($insertdata['id']);
// now translate any links
if ($bTranslateInsertansTags) {
if ($options['translinkfields']) {
$insertdata['answer'] = translateLinks('survey', $iOldSID, $iNewSID, $insertdata['answer']);
}
if (isset($aAIDReplacements[$insertdata['aid']])) {
Expand Down

0 comments on commit 7e6e100

Please sign in to comment.