diff --git a/app/BusinessLogicLayer/TMForumAPI/TMForumAPIManager.php b/app/BusinessLogicLayer/TMForumAPI/TMForumAPIManager.php index 6666fd8..780a865 100644 --- a/app/BusinessLogicLayer/TMForumAPI/TMForumAPIManager.php +++ b/app/BusinessLogicLayer/TMForumAPI/TMForumAPIManager.php @@ -131,8 +131,6 @@ protected function validateProductCall(array $data) { throw new Exception("Product name is required"); if (!$data['description']) throw new Exception("Product description is required"); - if (!$data['price']) - throw new Exception("Product price is required"); if (!is_numeric($data['price'])) throw new Exception("Product price must be a number"); }