fixes #2214 initialize total_count before using it

This commit is contained in:
Linty
2024-09-10 14:55:28 +02:00
parent c1ad552a86
commit 2905623027
+1
View File
@@ -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'])) {