Skip to content

Commit

Permalink
Fixed issue #7720: Copying a survey results in the new survey with sa…
Browse files Browse the repository at this point in the history
…me name of the original survey
  • Loading branch information
c-schmitz committed Apr 1, 2013
1 parent c43dcde commit f759218
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/admin/import_helper.php
Expand Up @@ -3516,7 +3516,7 @@ function XMLImportSurvey($sFullFilepath,$sXMLdata=NULL,$sNewSurveyName=NULL,$iDe
// Assign new survey ID
$insertdata['surveyls_survey_id']=$iNewSID;
// Assign new survey name (if a copy)
if ($sNewSurveyName == NULL)
if ($sNewSurveyName != NULL)
{
$insertdata['surveyls_title']=$sNewSurveyName;
}
Expand Down

0 comments on commit f759218

Please sign in to comment.