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 /db_designer.php | |
parent | 3d44419cbd941e122d9faeabe68445e5ecc2c615 (diff) |
Use 'elseif' keyword istead of 'else if'
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
Diffstat (limited to 'db_designer.php')
-rw-r--r-- | db_designer.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/db_designer.php b/db_designer.php index 09e7cb0a81..453891a179 100644 --- a/db_designer.php +++ b/db_designer.php @@ -17,15 +17,15 @@ if (isset($_REQUEST['dialog'])) { if ($_REQUEST['dialog'] == 'edit') { $html = Designer::getHtmlForEditOrDeletePages($GLOBALS['db'], 'editPage'); - } else if ($_REQUEST['dialog'] == 'delete') { + } elseif ($_REQUEST['dialog'] == 'delete') { $html = Designer::getHtmlForEditOrDeletePages($GLOBALS['db'], 'deletePage'); - } else if ($_REQUEST['dialog'] == 'save_as') { + } elseif ($_REQUEST['dialog'] == 'save_as') { $html = Designer::getHtmlForPageSaveAs($GLOBALS['db']); - } else if ($_REQUEST['dialog'] == 'export') { + } elseif ($_REQUEST['dialog'] == 'export') { $html = Designer::getHtmlForSchemaExport( $GLOBALS['db'], $_REQUEST['selected_page'] ); - } else if ($_REQUEST['dialog'] == 'add_table') { + } elseif ($_REQUEST['dialog'] == 'add_table') { $script_display_field = PmdCommon::getTablesInfo(); $required = $GLOBALS['db'] . '.' . $GLOBALS['table']; $tab_column = PmdCommon::getColumnsInfo(); |