diff options
author | Madhura Jayaratne <madhura.cj@gmail.com> | 2014-10-04 16:48:17 +0400 |
---|---|---|
committer | Madhura Jayaratne <madhura.cj@gmail.com> | 2014-10-04 16:48:17 +0400 |
commit | 9ea91627cf4c1059519a29ab81ab521481b86399 (patch) | |
tree | 6a2ed66858e8daf2bd4710d410dab9882b630828 /db_designer.php | |
parent | 65791f5ecb0f5dc0033bf402f58fedf5fd1cc824 (diff) |
'same' and 'new' are the only choices here
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
Diffstat (limited to 'db_designer.php')
-rw-r--r-- | db_designer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db_designer.php b/db_designer.php index 12492f8639..cf1b9625fe 100644 --- a/db_designer.php +++ b/db_designer.php @@ -45,7 +45,7 @@ if (isset($_REQUEST['operation'])) { } elseif ($_REQUEST['operation'] == 'savePage') { if ($_REQUEST['save_page'] == 'same') { $page = $_REQUEST['selected_page']; - } elseif ($_REQUEST['save_page'] == 'new') { + } else { // new $page = PMA_createNewPage($_REQUEST['selected_value'], $GLOBALS['db']); $response->addJSON('id', $page); } |