mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-24 02:12:17 +00:00
consistent naming of calendar modes in english; fixed routerguard to work with router.push on mode or date changes inside stpl component;
This commit is contained in:
@@ -25,7 +25,7 @@ class Stundenplan extends Auth_Controller
|
||||
*/
|
||||
public function index($mode = 'Week', $focus_date = null, $lv_id = null)
|
||||
{
|
||||
// Convert string "null" to actual null values -> ci3 reroute fix
|
||||
// convert string "null" to actual null values -> ci3 reroute fix
|
||||
$mode = ($mode === 'null') ? 'Week' : ucfirst(strtolower($mode));
|
||||
$focus_date = ($focus_date === 'null') ? date('Y-m-d') : $focus_date;
|
||||
$lv_id = ($lv_id === 'null') ? null : $lv_id;
|
||||
|
||||
Reference in New Issue
Block a user