Fixed: Cannot find symbol for variable RES_ERROR due to regression by

the backport for OFBIZ-10971.
This commit is contained in:
Michael Brohl
2021-02-15 18:41:40 +01:00
parent f9fc00ad3b
commit 38e249bb36
@@ -1867,7 +1867,7 @@ public class ShoppingCartEvents {
|| "ASSET_USAGE_OUT_IN".equals(ProductWorker.getProductTypeId(delegator, productId))) {
request.setAttribute("product_id", productId);
request.setAttribute("_EVENT_MESSAGE_",
UtilProperties.getMessage(RES_ERROR, "cart.addToCart.enterBookingInforamtionBeforeAddingToCart", locale));
UtilProperties.getMessage(resource_error, "cart.addToCart.enterBookingInforamtionBeforeAddingToCart", locale));
return "product";
}
}