summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/diag_backup.php
diff options
context:
space:
mode:
authorNewEraCracker <neweracracker@gmail.com>2016-02-15 15:16:31 +0000
committerNewEraCracker <neweracracker@gmail.com>2016-02-15 15:16:31 +0000
commitf6aebbcc55b4e83d4a05f503b5491ce5e6fb043b (patch)
tree342dc6a643802153d70f43978598a62f04d8107f /src/usr/local/www/diag_backup.php
parent703342b0354edeeb3179540715114a380c2f335c (diff)
downloadpfsense-f6aebbcc55b4e83d4a05f503b5491ce5e6fb043b.zip
pfsense-f6aebbcc55b4e83d4a05f503b5491ce5e6fb043b.tar.gz
Bring all calls of print_info_box to same standard
The call itself to print_info_box already echoes the content. There is no need of additionally using the short-open-echo tag on those calls to echo return value. The previous implementation shouldn't yell any visible issues as return is 'NULL' (undefined) which casts to an empty string when printing. But, just for the sake of conformity, this changes are advisable in my opinion.
Diffstat (limited to 'src/usr/local/www/diag_backup.php')
-rw-r--r--src/usr/local/www/diag_backup.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/diag_backup.php b/src/usr/local/www/diag_backup.php
index dba496f..d499442 100644
--- a/src/usr/local/www/diag_backup.php
+++ b/src/usr/local/www/diag_backup.php
@@ -609,7 +609,7 @@ if (is_subsystem_dirty('restore')):
<br/>
<form action="diag_reboot.php" method="post">
<input name="Submit" type="hidden" value="Yes" />
- <?=print_info_box(gettext("The firewall configuration has been changed.") . "<br />" . gettext("The firewall is now rebooting."))?>
+ <?php print_info_box(gettext("The firewall configuration has been changed.") . "<br />" . gettext("The firewall is now rebooting.")); ?>
<br />
</form>
<?php
OpenPOWER on IntegriCloud