Commit 7ac289fc authored by Tyler Struyk's avatar Tyler Struyk
Browse files

change if to elseif for event archives

parent d21d047c
......@@ -285,8 +285,7 @@ function uw_ct_event_views_post_render(&$view, &$output, &$cache) {
drupal_exit();
}
}
if ($first_arg_time < strtotime('-1 day', $one_year_past_time)) {
elseif ($first_arg_time < strtotime('-1 day', $one_year_past_time)) {
// Get the earliest previous event data.
// If it is less than that, then throw 404.
// Subtract a day so we do not have to worry about timezones.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment