Added additional Debugging
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user