From 6e529bf3f159bc1c6eac8ad0101246914883d8ac Mon Sep 17 00:00:00 2001 From: Maghuro <1546139+maghuro@users.noreply.github.com> Date: Thu, 24 Sep 2026 01:48:57 +0100 Subject: [PATCH] Remove unnecessary eval from WebUI settings cleanup --- MerlinAU.asp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MerlinAU.asp b/MerlinAU.asp index ec4b2d66..478b1c9d 100644 --- a/MerlinAU.asp +++ b/MerlinAU.asp @@ -1698,7 +1698,7 @@ function FWVersionStrToNum(verStr, usePrereleaseRank) } /**----------------------------------------**/ -/** Modified by Martinski W. [2025-Feb-21] **/ +/** Modified by maghuro [2026-Sep-24] **/ /**----------------------------------------**/ function LoadCustomSettings() { @@ -1709,7 +1709,7 @@ function LoadCustomSettings() { // Remove any old entries that may have been left behind // if (prop.indexOf('MerlinAU') != -1 && prop.indexOf('MerlinAU_version_') == -1) - { eval('delete shared_custom_settings.' + prop); } + { delete shared_custom_settings[prop]; } } } ConsoleLogDEBUG("Shared Custom Settings Loaded:", shared_custom_settings);