From b94ae16f69fa96aa0fd2ae653398cba26f5e5d66 Mon Sep 17 00:00:00 2001 From: Agent Date: Sat, 13 Jun 2026 11:31:52 -0400 Subject: [PATCH] fix: remove duplicate old() function causing 500 on create page - Removed the local old() function definition from views/servers/create.php which conflicted with the global old() in src/Helpers/functions.php:37 - Replaced all old() calls with direct htmlspecialchars([...]) lookups --- views/servers/create.php | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/views/servers/create.php b/views/servers/create.php index 616ceba..b33169d 100755 --- a/views/servers/create.php +++ b/views/servers/create.php @@ -1,9 +1,6 @@
+ list="groupList" value="">
@@ -51,18 +48,18 @@ function old(string $key, string $default = ''): string { + value="">
+ value="" min="1" max="65535" required>
+ value="">