Index: openacs-4/packages/calendar/www/view-one-day-display.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/www/view-one-day-display.tcl,v diff -u -r1.41.2.2 -r1.41.2.3 --- openacs-4/packages/calendar/www/view-one-day-display.tcl 20 Oct 2015 08:19:13 -0000 1.41.2.2 +++ openacs-4/packages/calendar/www/view-one-day-display.tcl 13 Feb 2017 10:54:56 -0000 1.41.2.3 @@ -33,7 +33,7 @@ set end_display_hour 23 } -if {([info exists calendar_id_list] && $calendar_id_list ne "")} { +if {[info exists calendar_id_list] && $calendar_id_list ne ""} { set calendars_clause [db_map dbqd.calendar.www.views.openacs_in_portal_calendar] } else { set calendars_clause [db_map dbqd.calendar.www.views.openacs_calendar] @@ -114,7 +114,7 @@ } set additional_limitations_clause " and to_char(start_date, 'HH24:MI') <> to_char(end_date, 'HH24:MI')" -if { ([info exists cal_system_type] && $cal_system_type ne "") } { +if { [info exists cal_system_type] && $cal_system_type ne "" } { append additional_limitations_clause " and system_type = :cal_system_type " } set order_by_clause " order by to_char(start_date,'HH24:MI')"