diff options
Diffstat (limited to 'core/functions.php')
-rw-r--r-- | core/functions.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/functions.php b/core/functions.php index 38af934..d5b56a2 100644 --- a/core/functions.php +++ b/core/functions.php @@ -18,6 +18,7 @@ use Parsers\MarkdownParser; #=============================================================================== function createPaginationTemplate($current, $last, string $location): Template { $params = http_build_query(array_merge($_GET, ['site' => '__SITE__'])); + $params = str_replace('%', '%%', $params); $params = str_replace('__SITE__', '%d', $params); $Pagination = TemplateFactory::build('pagination'); |