more quote identeiifers fixessss
[Pman.Core] / UploadProgress.php
index bf1ac1e..7616fbf 100644 (file)
@@ -14,8 +14,9 @@ class Pman_Core_UploadProgress extends Pman
         
         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')) {
@@ -23,7 +24,9 @@ class Pman_Core_UploadProgress extends Pman
            }
         if (!empty($_GET['id'])) {
            // var_dump(uploadprogress_get_info($_GET['id']));
-            $this->jok(uploadprogress_get_info($_GET['id']));
+            $ret = uploadprogress_get_info($_GET['id']);
+             
+            $this->jok($ret);
         }
         $this->jerr("no data");
     }