Files
2026-09-16 23:20:08 +07:00

8 lines
428 B
PHP

<?php
// Just write a patch to change to single quotes for all queries in AgentController
$content = file_get_contents('src/Controllers/AgentController.php');
$content = str_replace('LIKE \'%\"EventID\":\"3\"%\'', 'LIKE \'%EventID":"3%\'', $content); // wait, that caused syntax error before
// Instead, I will replace the double quotes in PHP with single quotes for the SQL statement
// But that's complicated to str_replace.