Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.6.0
-
Component/s: None
-
Labels:None
Description
There are a few control panels with this issue
- APISCP
- CentovaCast
- cPanel
- Plesk
To reproduce:
- Create a cpanel package with unlimited disk
- Create a Blesta package with that cpanel package
- Create a service with that package
- Log in as the client
- Manage the service
- View the stats tab
- See that the limit is listed as one instead of unlimited
Just revert CORE-4661. It was based on the false interpretation that a division by zero was possible, but a zero value in the variable in question would trigger an alternate flow that would never perform the division.