From 4f0ae05ba0447ca22f7ba9450a3afad2ecd391f2 Mon Sep 17 00:00:00 2001 From: aKorczak Date: Tue, 22 May 2012 08:01:54 +0000 Subject: [PATCH] [-] WS : id_group_shop is not mandatory git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15595 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/webservice/WebserviceRequest.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/classes/webservice/WebserviceRequest.php b/classes/webservice/WebserviceRequest.php index 293b86ec9..a65c90d84 100644 --- a/classes/webservice/WebserviceRequest.php +++ b/classes/webservice/WebserviceRequest.php @@ -794,12 +794,9 @@ class WebserviceRequestCore $this->setError(500, 'This group shop doesn\'t have shops', 999); return false; } - return true; } - - // @FIXME Set ErrorCode ! - $this->setError(404, 'This group shop id doesn\'t exist', 999); - return false; + // id_group_shop isn't mandatory + return true; } /**