diff options
author | Phil Davis <phil.davis@inf.org> | 2016-12-29 12:13:23 +0545 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-12-29 10:20:39 -0200 |
commit | 1ca5d09fa2b8122bed0b1a68fc6c1f369be96b81 (patch) | |
tree | 1bbbbecd06973e6b278370ee6fce5d4ca66d7614 /src/usr/local/www/status_ipsec.php | |
parent | 3b56806ec6ec109ed8c808dcaba591f580dd1477 (diff) | |
download | pfsense-1ca5d09fa2b8122bed0b1a68fc6c1f369be96b81.zip pfsense-1ca5d09fa2b8122bed0b1a68fc6c1f369be96b81.tar.gz |
Put print_info_box severity class in quotes
These should be strings in quotes, otherwise PHP looks for them to be
constants and would be issuing notice level "errors" underneath.
(cherry picked from commit 499adf7352647e401fbaf496ebac8dfb9591ad97)
Diffstat (limited to 'src/usr/local/www/status_ipsec.php')
-rw-r--r-- | src/usr/local/www/status_ipsec.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/status_ipsec.php b/src/usr/local/www/status_ipsec.php index fe4ee7a..90dca5e 100644 --- a/src/usr/local/www/status_ipsec.php +++ b/src/usr/local/www/status_ipsec.php @@ -519,7 +519,7 @@ display_top_tabs($tab_array); <tbody id="ipsec-body"> <tr> <td colspan="10"> - <?=print_info_box(gettext("Collecting IPsec status information."), warning, "")?> + <?=print_info_box(gettext("Collecting IPsec status information."), "warning", "")?> </td> </tr> </tbody> @@ -569,7 +569,7 @@ events.push(function() { ajaxRequest.done(function (response, textStatus, jqXHR) { if (!response) { - response = '<tr><td colspan="10"><?=print_info_box(gettext("No IPsec status information available."), warning, "")?></td></tr>'; + response = '<tr><td colspan="10"><?=print_info_box(gettext("No IPsec status information available."), "warning", "")?></td></tr>'; } $('#ipsec-body').html(response); |