Don't hard-code protocol.
This commit is contained in:
parent
f9bb5bcd84
commit
9780584463
@ -265,6 +265,6 @@ class CalendarView_Controller extends Controller {
|
||||
$str_year_id = Input::instance()->post("cal_year");
|
||||
|
||||
// redirect to the currect page.
|
||||
url::redirect(url::site("calendarview/calendar/" . $str_year_id . "/" . $str_user_id, "http"));
|
||||
url::redirect(url::site("calendarview/calendar/" . $str_year_id . "/" . $str_user_id, request::protocol()));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user