fix #8131 - chinese translations
[Pman.Core] / UploadProgress.php
index bc87f10..a0b144d 100644 (file)
@@ -7,7 +7,7 @@ class Pman_Core_UploadProgress extends Pman
         
         $au = $this->getAuthUser();
         if (!$au) {
-             $this->jerr("Not authenticated", array('authFailure' => true));
+             $this->jerror("LOGIN-NOAUTH", "Not authenticated", array('authFailure' => true));
         }
         $this->authUser = $au;
         // check that it's a supplier!!!! 
@@ -20,7 +20,6 @@ class Pman_Core_UploadProgress extends Pman
         header("Cache-Control: no-cache, must-revalidate");
         header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
         if (  !function_exists('uploadprogress_get_info')) {
-            print_R('not exist??');exit;
             $this->jok(false);
            }
         if (!empty($_GET['id'])) {