Skip to content

Commit f3bbbee

Browse files
Fix WebUI Changelog Check Approval
Fix WebUI Changelog Check Approval
1 parent 194f179 commit f3bbbee

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

MerlinAU.sh

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10395,7 +10395,7 @@ then
1039510395
sleep 1
1039610396
;;
1039710397
"${SCRIPT_NAME}approvechangelog")
10398-
local currApprovalStatus="$(Get_Custom_Setting "FW_New_Update_Changelog_Approval")"
10398+
currApprovalStatus="$(Get_Custom_Setting "FW_New_Update_Changelog_Approval")"
1039910399
if [ "$currApprovalStatus" = "BLOCKED" ]
1040010400
then
1040110401
Update_Custom_Settings "FW_New_Update_Changelog_Approval" "APPROVED"
@@ -10404,6 +10404,16 @@ then
1040410404
Update_Custom_Settings "FW_New_Update_Changelog_Approval" "BLOCKED"
1040510405
fi
1040610406
;;
10407+
"${SCRIPT_NAME}blockchangelog")
10408+
currApprovalStatus="$(Get_Custom_Setting "FW_New_Update_Changelog_Approval")"
10409+
if [ "$currApprovalStatus" = "APPROVED" ]
10410+
then
10411+
Update_Custom_Settings "FW_New_Update_Changelog_Approval" "BLOCKED"
10412+
elif [ "$currApprovalStatus" = "BLOCKED" ]
10413+
then
10414+
Update_Custom_Settings "FW_New_Update_Changelog_Approval" "APPROVED"
10415+
fi
10416+
;;
1040710417
"${SCRIPT_NAME}checkupdate" | \
1040810418
"${SCRIPT_NAME}checkupdate_bypassDays")
1040910419
if _AcquireLock_ cliFileLock

0 commit comments

Comments
 (0)