diff options
author | Phil Davis <phil.davis@inf.org> | 2015-06-15 14:19:11 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2015-06-15 14:19:11 +0545 |
commit | 6c07db487164262f9191ad02805523bd153e0ba6 (patch) | |
tree | 0c266356179ac730233a16c0e3767a0c22514c4d /usr/local/www/interfaces_qinq_edit.php | |
parent | 67d9685607eef7c679fda929ad4855be1b2f9dec (diff) | |
download | pfsense-6c07db487164262f9191ad02805523bd153e0ba6.zip pfsense-6c07db487164262f9191ad02805523bd153e0ba6.tar.gz |
Code spacing
and other random stuff I noticed.
I think this finishes messing with code style. The codebase should match
the developer style guide closely enough that 99.9% of changes will not
feel the need to also massage the formatting.
Diffstat (limited to 'usr/local/www/interfaces_qinq_edit.php')
-rw-r--r-- | usr/local/www/interfaces_qinq_edit.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/interfaces_qinq_edit.php b/usr/local/www/interfaces_qinq_edit.php index 4efe42b..9a4a4c5 100644 --- a/usr/local/www/interfaces_qinq_edit.php +++ b/usr/local/www/interfaces_qinq_edit.php @@ -39,7 +39,7 @@ ##|*MATCH=interfaces_qinq_edit.php* ##|-PRIV -$pgtitle = array(gettext("Interfaces"),gettext("QinQ"), gettext("Edit")); +$pgtitle = array(gettext("Interfaces"), gettext("QinQ"), gettext("Edit")); $shortcut_section = "interfaces"; require("guiconfig.inc"); @@ -134,11 +134,11 @@ if ($_POST) { $members = ""; $isfirst = 0; /* item is a normal qinqentry type */ - for ($x=0; $x<9999; $x++) { + for ($x = 0; $x < 9999; $x++) { if ($_POST["members{$x}"] <> "") { $member = explode("-", $_POST["members{$x}"]); if (count($member) > 1) { - if (preg_match("/([^0-9])+/", $member[0], $match) || + if (preg_match("/([^0-9])+/", $member[0], $match) || preg_match("/([^0-9])+/", $member[1], $match)) { $input_errors[] = gettext("Tags can contain only numbers or a range in format #-#."); } |