Skip to content

Commit

Permalink
Dev A bit more meaningful error message
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Apr 22, 2020
1 parent 0b9e58d commit 3db42f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/admin/import_helper.php
Expand Up @@ -1471,7 +1471,7 @@ function XMLImportSurvey($sFullFilePath, $sXMLdata = null, $sNewSurveyName = nul
unset($insertdata['surveyls_attributecaptions']);
}

SurveyLanguageSetting::model()->insertNewSurvey($insertdata) or safeDie(gT("Error").": Failed to insert data [2]<br />");
SurveyLanguageSetting::model()->insertNewSurvey($insertdata) or safeDie(gT("Error").": Failed to import survey language settings - data is invalid<br />");
}


Expand Down

0 comments on commit 3db42f0

Please sign in to comment.