Merge pull request #15060 from grandoc/new_branch_19_10_2020

fix : Warning: A non-numeric value encountered in /home/httpd/vhosts/…
This commit is contained in:
Laurent Destailleur 2020-10-22 16:11:47 +02:00 committed by GitHub
commit c09e71962e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4390,7 +4390,7 @@ function print_barre_liste($titre, $page, $file, $options = '', $sortfield = '',
// Right
print '<td class="nobordernopadding valignmiddle right">';
print '<input type="hidden" name="pageplusoneold" value="'.($page+1).'">';
print '<input type="hidden" name="pageplusoneold" value="'.((int) $page + 1).'">';
if ($sortfield) $options .= "&sortfield=".urlencode($sortfield);
if ($sortorder) $options .= "&sortorder=".urlencode($sortorder);
// Show navigation bar