mirror of
https://github.com/itflow-org/itflow
synced 2026-08-15 12:05:11 +00:00
Fix calendar queries missing columns lost in the SELECT * sweep
This commit is contained in:
@@ -304,8 +304,8 @@ while ($row = mysqli_fetch_assoc($sql)) {
|
||||
},
|
||||
events: [
|
||||
<?php
|
||||
$sql = mysqli_query($mysqli, "SELECT calendar_color, calendar_id, calendar_name, event_all_day, event_id, event_repeat,
|
||||
event_title FROM calendar_events LEFT JOIN calendars ON event_calendar_id = calendar_id $client_event_query");
|
||||
$sql = mysqli_query($mysqli, "SELECT calendar_color, calendar_id, calendar_name, event_all_day, event_end, event_id,
|
||||
event_repeat, event_start, event_title FROM calendar_events LEFT JOIN calendars ON event_calendar_id = calendar_id $client_event_query");
|
||||
|
||||
// Repeating events are stored as a single row, so the occurrences have to
|
||||
// be materialised here - the bundled FullCalendar build has no rrule
|
||||
|
||||
@@ -45,7 +45,7 @@ $feed_key = escapeSql($_GET['key']);
|
||||
|
||||
$sql = mysqli_query(
|
||||
$mysqli,
|
||||
"SELECT calendar_id, calendar_name FROM calendars
|
||||
"SELECT calendar_color, calendar_feed_busy_only, calendar_id, calendar_name FROM calendars
|
||||
WHERE calendar_feed_key = '$feed_key'
|
||||
AND calendar_feed_key IS NOT NULL
|
||||
AND calendar_archived_at IS NULL
|
||||
|
||||
Reference in New Issue
Block a user