Upgrade to ExtJS 4.0.7 - Released 10/19/2011
[extjs.git] / examples / writer / remote / lib / request.php
index 8d50662..a3cc561 100644 (file)
@@ -44,7 +44,9 @@ class Request {
                     $raw .= $kb;
                 }
                 $params = json_decode(stripslashes($raw));
                     $raw .= $kb;
                 }
                 $params = json_decode(stripslashes($raw));
-                $this->params = $params->data;
+                if ($params) {
+                    $this->params = $params->data;
+                }
             }
 
         }
             }
 
         }