mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
fixes #2214 initialize total_count before using it
This commit is contained in:
@@ -238,6 +238,7 @@ SELECT DISTINCT ';
|
||||
}
|
||||
$users = array();
|
||||
$result = pwg_query($query);
|
||||
$total_count = 0;
|
||||
|
||||
/* GET THE RESULT OF SQL_CALC_FOUND_ROWS if display total_count is requested*/
|
||||
if (isset($params['display']['total_count'])) {
|
||||
|
||||
Reference in New Issue
Block a user