Fix false-positive replacements from compatibility sweep

Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/89922108-1604-44ae-949d-358d32b9d70a

Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-04-23 14:08:38 +00:00 committed by GitHub
parent 6c0ca40e09
commit 97010974d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 10 additions and 11 deletions

View file

@ -139,7 +139,7 @@ function exec_ogp_module() {
echo "</tbody>\n";
echo "<tfoot style='border:1px solid grey;'></tfoot>\n";
echo "</table>\n";
$count_logs = $db->get_logger_count((array)$search_field);
$count_logs = $db->get_logger_count($search_field);
if (isset($_GET['search']) && !empty($_GET['search'])) {
$uri = '?m=administration&p=watch_logger&search='.$_GET['search'].'&limit='.$l.'&page=';
@ -149,4 +149,3 @@ function exec_ogp_module() {
echo paginationPages($count_logs[0]['total'], $p, $l, $uri, 3, 'watchLogger');
}
?>