1
0

Don't hard-code protocol.

This commit is contained in:
rWatcher 2010-03-14 03:10:19 +08:00 committed by Tim Almdal
parent f9bb5bcd84
commit 9780584463

View File

@ -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()));
}
}