Slim daily: support legacy query parameter
This commit is contained in:
parent
69e29ff65e
commit
07f99432b7
1 changed files with 2 additions and 1 deletions
|
@ -522,7 +522,8 @@ function renderPage($conf, $pluginManager, $bookmarkService, $history, $sessionM
|
|||
|
||||
// Daily page.
|
||||
if ($targetPage == Router::$PAGE_DAILY) {
|
||||
header('Location: ./daily');
|
||||
$dayParam = !empty($_GET['day']) ? '?day=' . escape($_GET['day']) : '';
|
||||
header('Location: ./daily'. $dayParam);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue