fix #8131 - chinese translations
[Pman.Core] / UploadProgress.php
index a3f68e0..a0b144d 100644 (file)
@@ -7,15 +7,16 @@ 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!!!! 
         
         return true; 
     }
-    function get()
-    {   
+    function get($v, $opts=array())
+    {
+        $this->sessionState(0); // turn off the session..
         header("Cache-Control: no-cache, must-revalidate");
         header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
         if (  !function_exists('uploadprogress_get_info')) {