Added additional Debugging

This commit is contained in:
Luca Haid
2025-09-01 08:53:51 +00:00
parent 514ac616d3
commit b887830988

View File

@@ -697,6 +697,11 @@ class WarehouseShippingNoteController extends TTCrud {
}
$eventsJson = CalendarModel::getCalendarEvents($this->user, 0, 0, true);
if (isset($_GET['die_calendar'])) {
die($eventsJson);
}
$allEvents = json_decode($eventsJson, true)['data'] ?? [];
if (!is_array($allEvents)) {