Permalink
Browse files

Hide warning until firmware update enabled = true

  • Loading branch information...
1 parent 110603e commit 09b964a29aae97efbffce2883ae452007378c5b1 @sullrich sullrich committed Sep 26, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 usr/local/www/system_firmware.php
@@ -309,6 +309,8 @@ function file_upload_error_message($error_code) {
<tr>
<td width="22%" valign="top">&nbsp;</td>
<td width="78%">
+ </span>
+ <?php if (is_subsystem_dirty('firmware')): ?>
<span class="vexpl">
<span class="red">
<strong>
@@ -319,6 +321,7 @@ function file_upload_error_message($error_code) {
"has started. The firewall will reboot automatically after " .
"storing the new firmware. The configuration will be maintained.");?>
</span>
+ <?php endif; ?>
</td>
</table>
</div>

0 comments on commit 09b964a

Please sign in to comment.