diff options
author | Piotr Przybylski <piotrprz@gmail.com> | 2011-08-05 02:37:49 +0400 |
---|---|---|
committer | Piotr Przybylski <piotrprz@gmail.com> | 2011-08-05 02:37:49 +0400 |
commit | a73f1449ea1a18fac1853f93afa826b20811893d (patch) | |
tree | 18a4ef55369a21dda03d610cc5bc7afff1bba7ff /enum_editor.php | |
parent | c8a147c4eed04c4d344aa9e45acce7411d2a5603 (diff) |
Coding style: space after for keyword
Diffstat (limited to 'enum_editor.php')
-rw-r--r-- | enum_editor.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/enum_editor.php b/enum_editor.php index 9287bb3feb..77bf0975b4 100644 --- a/enum_editor.php +++ b/enum_editor.php @@ -26,7 +26,7 @@ require_once './libraries/header_meta_style.inc.php'; if (isset($_GET['values'])) { // This page was displayed when the "add a new value" link or the link in tbl_alter.php was clicked $values = explode(',', urldecode($_GET['values'])); } elseif (isset($_GET['num_fields'])) { // This page was displayed from submitting this form - for($field_num = 1; $field_num <= $_GET['num_fields']; $field_num++) { + for ($field_num = 1; $field_num <= $_GET['num_fields']; $field_num++) { $values[] = "'" . str_replace(array("'", '\\'), array("''", '\\\\'), $_GET['field' . $field_num]) . "'"; } } @@ -43,7 +43,7 @@ require_once './libraries/header_meta_style.inc.php'; // If extra empty fields are added, display them if (isset($_GET['extra_fields'])) { $total_fields += $_GET['extra_fields']; - for($i = $field_counter+1; $i <= $total_fields; $i++) { + for ($i = $field_counter+1; $i <= $total_fields; $i++) { echo '<input type="text" size="30" name="field' . $i . '"/>'; } } else { |