Skip to content

Commit

Permalink
Fixed Issue #11435: Sometimes importing errors are not shown correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieljenik committed Jul 6, 2016
1 parent be85041 commit d5eee83
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions application/views/admin/survey/importSurvey_view.php
Expand Up @@ -16,12 +16,16 @@

<!-- error message -->
<p>
<?php
if (is_string($sErrorMessage))
echo $sErrorMessage;
else
print_r($sErrorMessage);
?>
<?php
- if(is_array($aImportResults['error']))
{
foreach($aImportResults['error'] as $error)
echo $error."<br/>";
} else
{
echo $aImportResults['error'];
}
?>
</p>

<!-- buttons -->
Expand Down

0 comments on commit d5eee83

Please sign in to comment.