Skip to content

Commit

Permalink
Possible fox for #34
Browse files Browse the repository at this point in the history
  • Loading branch information
stefangabos committed Sep 2, 2021
1 parent f006749 commit 0255848
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Zebra_Pagination.php
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,7 @@ private function _build_uri($page) {
unset($query[$this->_properties['variable_name']]);

// make sure the returned HTML is W3C compliant
$uri = htmlspecialchars(html_entity_decode($this->_properties['base_url']) . (!empty($query) ? '?' . urldecode(http_build_query($query)) : ''));
$uri = htmlspecialchars(html_entity_decode($this->_properties['base_url']) . (!empty($query) ? '?' . http_build_query(array_map('urldecode', $query)) : ''));

}

Expand Down

0 comments on commit 0255848

Please sign in to comment.