diff options
author | Maurício Meneghini Fauth <mauriciofauth@gmail.com> | 2017-12-04 18:31:25 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauriciofauth@gmail.com> | 2017-12-04 18:31:25 +0300 |
commit | 01fd3010030f58c5489c18a40f91362d099987fd (patch) | |
tree | f3f66a17571bec6e431d7aa50704125485d237ee /normalization.php | |
parent | 3d44419cbd941e122d9faeabe68445e5ecc2c615 (diff) |
Use 'elseif' keyword istead of 'else if'
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
Diffstat (limited to 'normalization.php')
-rw-r--r-- | normalization.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/normalization.php b/normalization.php index ed902137fa..2f38698a64 100644 --- a/normalization.php +++ b/normalization.php @@ -105,19 +105,19 @@ if (isset($_POST['repeatingColumns'])) { if (isset($_REQUEST['step1'])) { $html = Normalization::getHtmlFor1NFStep1($db, $table, $normalForm); $response->addHTML($html); -} else if (isset($_REQUEST['step2'])) { +} elseif (isset($_REQUEST['step2'])) { $res = Normalization::getHtmlContentsFor1NFStep2($db, $table); $response->addJSON($res); -} else if (isset($_REQUEST['step3'])) { +} elseif (isset($_REQUEST['step3'])) { $res = Normalization::getHtmlContentsFor1NFStep3($db, $table); $response->addJSON($res); -} else if (isset($_REQUEST['step4'])) { +} elseif (isset($_REQUEST['step4'])) { $res = Normalization::getHtmlContentsFor1NFStep4($db, $table); $response->addJSON($res); -} else if (isset($_REQUEST['step']) && $_REQUEST['step'] == '2.1') { +} elseif (isset($_REQUEST['step']) && $_REQUEST['step'] == '2.1') { $res = Normalization::getHtmlFor2NFstep1($db, $table); $response->addJSON($res); -} else if (isset($_REQUEST['step']) && $_REQUEST['step'] == '3.1') { +} elseif (isset($_REQUEST['step']) && $_REQUEST['step'] == '3.1') { $tables = $_REQUEST['tables']; $res = Normalization::getHtmlFor3NFstep1($db, $tables); $response->addJSON($res); |