Don't hard-code protocol.
This commit is contained in:
parent
9f7f992881
commit
c7746bf1bb
@ -265,6 +265,6 @@ class CalendarView_Controller extends Controller {
|
|||||||
$str_year_id = Input::instance()->post("cal_year");
|
$str_year_id = Input::instance()->post("cal_year");
|
||||||
|
|
||||||
// redirect to the currect page.
|
// 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