[-] WS : Fix id_shop to not being mandatory
This commit is contained in:
1 parent
c6a936fe5f
commit
a7906a50db
1 file changed
+6
-2
@@ -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