vt750: Fatal Error during import
Just created a new test instance and was trying to import some records for testing:
: Uncaught TypeError: number_format(): Argument #2 ($decimals) must be of type int, string given in /var/www/html/vtiger/include/fields/CurrencyField.php:207
Stack trace:
#0 /var/www/html/vtiger/include/fields/CurrencyField.php(207): number_format()
#1 /var/www/html/vtiger/include/fields/CurrencyField.php(156): CurrencyField->_formatCurrencyValue()
#2 /var/www/html/vtiger/include/fields/CurrencyField.php(133): CurrencyField->getDisplayValue()
#3 /var/www/html/vtiger/modules/Import/actions/Data.php(665): CurrencyField::convertToUserFormat()
#4 /var/www/html/vtiger/modules/Import/actions/Data.php(388): Import_Data_Action->transformForImport()
#5 /var/www/html/vtiger/modules/Import/actions/Data.php(132): Import_Data_Action->createRecords()
#6 /var/www/html/vtiger/modules/Import/views/Main.php(57): Import_Data_Action->importData()
#7 /var/www/html/vtiger/modules/Vtiger/views/Import.php(339): Import_Main_View->triggerImport()
#8 /var/www/html/vtiger/modules/Vtiger/views/Import.php(45): Vtiger_Import_View->checkImportStatus()
#9 /var/www/html/vtiger/includes/main/WebUI.php(215): Vtiger_Import_View->process()
#10 /var/www/html/vtiger/index.php(20): Vtiger_WebUI->process()
#11 {main} thrown in /var/www/html/vtiger/include/fields/CurrencyField.php on line 207