Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 4.7.1
-
Component/s: None
-
Labels:None
Description
When the default value is empty in a quantity config option users may receive an error:
SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'default' at row 1 on line 196 in path_to_blesta\vendors\minphp\db\src\PdoConnection.php
To recreate:
- Start adding a config option
- Change type to quantity
- Fill in all fields but make the default field empty
- Attempt to receive error