From 395d11c8bcee82d07f07fe46f6cdfeef6d8a2b3c Mon Sep 17 00:00:00 2001 From: Keanu D?lle Date: Tue, 26 Apr 2022 11:26:16 +0200 Subject: [PATCH] FIX: error when min_billing_state is null --- resources/js/event_billing.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resources/js/event_billing.js b/resources/js/event_billing.js index 68bac3a..df15a79 100644 --- a/resources/js/event_billing.js +++ b/resources/js/event_billing.js @@ -105,6 +105,9 @@ EventBilling = (function () { alert("Es ist ein Fehler aufgetreten!"); } }); + if(res == null){ + return null; + } if(typeof res !== 'object'){ return res; }