Index: /branches/2.2/include/ws_functions.inc.php
===================================================================
--- /branches/2.2/include/ws_functions.inc.php	(revision 11115)
+++ /branches/2.2/include/ws_functions.inc.php	(revision 11117)
@@ -1419,4 +1419,9 @@
   {
     return new PwgError(405, "This method requires HTTP POST");
+  }
+
+  if (!isset($_FILES['image']))
+  {
+    return new PwgError(405, "The image (file) parameter is missing");
   }
   
