A free open source IT asset/license management system
Added default if no audit settings are in place
snipe479f422e6852
diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.phpindex 8499198016..ba511cf2a7 100644--- a/resources/views/partials/bootstrap-table.blade.php+++ b/resources/views/partials/bootstrap-table.blade.php@@ -100,7 +100,7 @@ $('.snipe-table').bootstrapTable({function dateRowCheckStyle(value) {- if ((value.days_to_next_audit) && (value.days_to_next_audit < {{ $snipeSettings->audit_warning_days }})) {+ if ((value.days_to_next_audit) && (value.days_to_next_audit < {{ $snipeSettings->audit_warning_days ?: 0 }})) {return { classes : "danger" }}return {};