Files
TravianZ/GameEngine/Admin/Mods
Ferywir fb225b562f fix(admin): repair broken admin-log variables in medals Mod (#262)
The post-delete admin-log block referenced variables that were never defined
($admid/$adminID/$medalid/$uid), so on PHP 8.1+ (mysqli throws on error) the
malformed INSERT raised an uncaught mysqli_sql_exception → HTTP 500 after the
medal was already deleted. Use the correct ids ($admid from session, $uid from
POST), look up the target player's username (escaped), and redirect to the
sanitized $uid.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-23 11:12:04 +03:00
..
2025-02-11 11:22:22 +02:00
2026-06-09 08:05:40 +03:00
2026-05-28 13:22:27 +03:00
2026-06-04 13:19:10 +03:00
2026-05-22 11:29:37 +03:00
2025-02-11 11:22:22 +02:00
2026-05-22 11:29:37 +03:00