@@ -102,7 +102,7 @@ try {
}
else
{
- echo action_msg(API::EMPTY_STOCK, API::EMPTY_STOCK_MSG);
+ echo action_msg(API::EMPTY_STOCK_MSG,API::EMPTY_STOCK);
}catch (MyException $e){
$api->ApiError($e->getCode(), $e->getMessage());
@@ -92,7 +92,7 @@ try {
echo action_array($params);
else{
+ echo action_msg(API::EMPTY_STOCK_MSG , API::EMPTY_STOCK);
@@ -127,7 +127,7 @@ try {
+ echo action_msg(API::EMPTY_STOCK_MSG,API::EMPTY_STOCK );
@@ -80,7 +80,8 @@ try {
$params["list"]=$data;
}else{
+
@@ -134,7 +134,8 @@ try {
+ echo action_msg(API::EMPTY_STOCK_MSG, API::EMPTY_STOCK);