Commit:    f2ba4f0a197ede7cca036c7afd0411cfe81b360b
Author:    Sobak <msobaczew...@gmail.com>         Sun, 19 Apr 2020 09:34:50 
+0200
Parents:   5cd67eadf9903bfef2864d0c2dbdcda2d874fd97
Branches:  master

Link:       
http://git.php.net/?p=web/master.git;a=commitdiff;h=f2ba4f0a197ede7cca036c7afd0411cfe81b360b

Log:
Notes: fixing pagination requires one more change

Changed paths:
  M  manage/user-notes.php


Diff:
diff --git a/manage/user-notes.php b/manage/user-notes.php
index a96e519..cb4ad15 100644
--- a/manage/user-notes.php
+++ b/manage/user-notes.php
@@ -381,7 +381,7 @@ if (!$action) {
         // It won't cause to show last notes (type=0) as $_REQUEST['keyword'] 
presence has higher priority.
         $type = 0;
         echo "<p><a href=\"?view=notes&page=$page&type=$type$keyword\">Next 
10</a>";
-      } elseif (isset($_REQUEST["view"]) && !empty($search_votes)) {
+      } elseif (isset($_REQUEST["view"]) && isset($search_votes) === false) {
         echo "<p>";
         if (isset($NextPage) && $NextPage > 1) {
           echo "<a 
href=\"?view=notes&page=$PrevPage&type=$type{$isSearch}\">&lt; Prev 25</a> ";


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to