Browse Source

Update paging.php (#4463)

* Update paging.php

* Update paging.php
chansizzle 6 years ago
parent
commit
e27e341934
1 changed files with 1 additions and 1 deletions
  1. 1 1
      resources/paging.php

+ 1 - 1
resources/paging.php

@@ -86,7 +86,7 @@ function paging($num_rows, $param, $rows_per_page, $mini = false, $result_count
 	$text = $language->get();
 
 	//print the link to access each page
-	$self =  escape($_SERVER['PHP_SELF']);
+	$self =  htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8');
 	$nav = '';
 	for($page = 1; $page <= $max_page; $page++){
 		if ($page == $page_number) {