Fix #6613 Do not show Aply Changes button when Save needed

I got a bit carried away in the fix for #6460 21c18c3df1
The message here at line 507 should not actually show the Apply Changes button. At this point the user needs to adjust the assigned interfaces and save. Then after saving an Apply Changes button can be used to implement the saved changes.
This commit is contained in:
Phil Davis 2016-07-15 08:44:59 +09:30 committed by GitHub
parent ac24dc242f
commit 1602106bf5

View File

@ -504,7 +504,7 @@ if (file_exists("/var/run/interface_mismatch_reboot_needed")) {
$class = "warning";
}
} else {
$applymsg = gettext("Interface mismatch detected. Please resolve the mismatch and click 'Apply Changes'. The firewall will reboot afterwards.");
$savemsg = gettext("Interface mismatch detected. Please resolve the mismatch, save and then click 'Apply Changes'. The firewall will reboot afterwards.");
$class = "warning";
}
}