mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
related to #1465 max page added to pagination
This commit is contained in:
committed by
plegall
parent
5723f99056
commit
758a7ef4d1
@@ -1015,7 +1015,7 @@ SELECT
|
||||
return array(
|
||||
'lines' => $result,
|
||||
'params' => $param,
|
||||
'maxPage' => $max_page,
|
||||
'maxPage' => ($max_page == 0) ? 1 : $max_page,
|
||||
'summary' => $search_summary
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user