Skip to content

Commit

Permalink
Fixed issue #5969: Trying to import a question group without a matchi…
Browse files Browse the repository at this point in the history
…ng language gives no proper error
  • Loading branch information
c-schmitz committed Apr 4, 2012
1 parent 3ed8d54 commit 9ace029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/admin/import_helper.php
Expand Up @@ -806,7 +806,7 @@ function XMLImportGroup($sFullFilepath, $newsid)
if (!in_array($sBaseLanguage,$importlanguages))
{
$results['fatalerror'] = $clang->gT("The languages of the imported group file must at least include the base language of this survey.");
return;
return $results;
}
// First get an overview of fieldnames - it's not useful for the moment but might be with newer versions
/*
Expand Down

0 comments on commit 9ace029

Please sign in to comment.