[-] WS : Fix id_shop to not being mandatory
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16014 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -777,8 +777,12 @@ class WebserviceRequestCore
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
$this->setError(404, 'This shop id doesn\'t exist', 129);
|
{
|
||||||
|
self::$shopIDs[] = Context::getContext()->shop->id;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
$this->setError(404, 'This shop id does not exist', 999);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user