]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/commitdiff
Fix failure of update on user settings
authorValerie Pond <redacted>
Sun, 14 Jul 2024 00:31:13 +0000 (08:31 +0800)
committerValerie Pond <redacted>
Sun, 14 Jul 2024 00:31:13 +0000 (08:31 +0800)
settings/general.php

index 8a0c3aec52c9fb4f9db5ecafa0a85a59beb77fc8..05f1a63c7bc34b21df77871a013769b771198065 100644 (file)
@@ -19,7 +19,7 @@ if (isset($_POST['submit']) && $canEdit)
         Message::Info("Debug Mode is now ".(($config['debug']) ? "enabled" : "disabled"));
 
 
-    if (!empty($_FILES['customFile']))
+    if (!empty($_FILES['customFile']['tmp_name']))
     {
         $cwd = getcwd();
         $a = split($cwd,'/');