Merge branch 'spidev' into 'master'

Kalender Update

See merge request fronk/thetool!1243
This commit is contained in:
Daniel Spitzer
2025-04-22 18:25:39 +00:00

View File

@@ -435,7 +435,7 @@ WHERE `TimerecordingCategory`.`hourday`!='1' AND `TimerecordingCategory`.`hourda
$timecalcend = time() + 86400;
$timecalcstart = $timecalcend - 3600;
$sql = "SELECT `id`,`name`,`customer_info_send`,`start_time`,`end_time`,`event_type` FROM `cal_events` WHERE `customer_info_reminder`= 1 AND `customer_info_send` IS NOT NULL AND `event_type` > 1 AND `start_time` BETWEEN $timecalcstart AND $timecalcend";
$sql = "SELECT `id`,`name`,`customer_info_send`,`start_time`,`end_time`,`event_type` FROM `cal_events` WHERE `customer_info_reminder`= 1 AND `customer_info_send` IS NOT NULL AND `event_type` > 1 AND `start_time` BETWEEN $timecalcstart AND $timecalcend AND is_organizer=1";
$res = $dbcal->query($sql);
while ($data = $dbcal->fetch_array($res)) {
$rows[] = array(