mirror of
https://github.com/YGGverse/YGGo.git
synced 2025-01-24 13:34:25 +00:00
fix pagination link condition
This commit is contained in:
parent
4ea01bf8b4
commit
a3bdccddd6
@ -190,7 +190,7 @@ if (!empty($q)) {
|
||||
<a href="<?php echo $result->url ?>"><?php echo $result->url ?></a>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php if ($p * WEBSITE_PAGINATION_SEARCH_RESULTS_LIMIT < $resultsTotal) { ?>
|
||||
<?php if ($p * WEBSITE_PAGINATION_SEARCH_RESULTS_LIMIT <= $resultsTotal) { ?>
|
||||
<div>
|
||||
<a href="<?php echo WEBSITE_DOMAIN; ?>/search.php?q=<?php echo urlencode(htmlentities($q)) ?>&p=<?php echo $p + 1 ?>"><?php echo _('Next page') ?></a>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user