4883: Don't write messages prematurely issue_4883
authorTJ <acontent@iam.tj>
Sun, 9 Oct 2011 00:00:11 +0000 (01:00 +0100)
committerTJ <acontent@iam.tj>
Wed, 19 Oct 2011 19:05:05 +0000 (20:05 +0100)
home/ims/ims_import.php

index 57ba69c..7eddbfd 100644 (file)
@@ -844,7 +844,6 @@ if ($ext != 'zip') {
 } else if ($_FILES['file']['size'] == 0) {
        $msg->addError('IMPORTFILE_EMPTY');
 } 
-$msg->printAll();
 if ($msg->containsErrors()) {
        if (isset($_GET['tile'])) {
                header('Location: '.$_base_path.'tools/tile/index.php');
@@ -1445,4 +1444,4 @@ if ($oauth_import) {
 }
 exit;
 
-?>
\ No newline at end of file
+?>