diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-05-17 11:11:57 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-07-23 21:19:21 +0200 |
commit | 07f99432b7b0c75935b758b20a30c3e0007bac13 (patch) | |
tree | c0117b855aac6ac862da94c9a99a3b617278885e | |
parent | 69e29ff65ef56b886748c58ba5b037cf217c4a1d (diff) | |
download | Shaarli-07f99432b7b0c75935b758b20a30c3e0007bac13.tar.gz Shaarli-07f99432b7b0c75935b758b20a30c3e0007bac13.tar.zst Shaarli-07f99432b7b0c75935b758b20a30c3e0007bac13.zip |
Slim daily: support legacy query parameter
-rw-r--r-- | index.php | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -522,7 +522,8 @@ function renderPage($conf, $pluginManager, $bookmarkService, $history, $sessionM | |||
522 | 522 | ||
523 | // Daily page. | 523 | // Daily page. |
524 | if ($targetPage == Router::$PAGE_DAILY) { | 524 | if ($targetPage == Router::$PAGE_DAILY) { |
525 | header('Location: ./daily'); | 525 | $dayParam = !empty($_GET['day']) ? '?day=' . escape($_GET['day']) : ''; |
526 | header('Location: ./daily'. $dayParam); | ||
526 | exit; | 527 | exit; |
527 | } | 528 | } |
528 | 529 | ||