A free open source IT asset/license management system
Fix regression for NULL valued numbers in the summary calculation
Brady Wetheringtone28db2d22194
diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.phpindex 04f5d4cd74..f1a2d408f6 100644--- a/resources/views/partials/bootstrap-table.blade.php+++ b/resources/views/partials/bootstrap-table.blade.php@@ -596,6 +596,9 @@}function cleanFloat(number) {+ if(!number) { // in a JavaScript context, meaning, if it's null or zero or unset+ return 0.0;+ }if ("{{$snipeSettings->digit_separator}}" == "1.234,56") {// yank periods, change commas to periodsperiodless = number.toString().replace("\.","");