diff options
author | Michal Čihař <mcihar@novell.com> | 2011-02-02 16:48:36 +0300 |
---|---|---|
committer | Michal Čihař <mcihar@novell.com> | 2011-02-02 16:48:36 +0300 |
commit | f2ebfe1bd53abc3962256e3c574cc26aa70cd36e (patch) | |
tree | 5009e85f8283ae3b148131e673869c2b308f8118 /tbl_alter.php | |
parent | a6e1212d12e40d0037c5dd989c5aa3815a2b3b73 (diff) |
Show links only when editing
Diffstat (limited to 'tbl_alter.php')
-rw-r--r-- | tbl_alter.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tbl_alter.php b/tbl_alter.php index f60523f61e..fa82d7cca5 100644 --- a/tbl_alter.php +++ b/tbl_alter.php @@ -24,7 +24,6 @@ PMA_checkParameters(array('db', 'table')); */ require_once './libraries/tbl_common.php'; require_once './libraries/tbl_info.inc.php'; -require_once './libraries/tbl_links.inc.php'; $active_page = 'tbl_structure.php'; @@ -156,6 +155,8 @@ if (isset($_REQUEST['do_save_data'])) { * $selected comes from multi_submits.inc.php */ if ($abort == false) { + require_once './libraries/tbl_links.inc.php'; + if (! isset($selected)) { PMA_checkParameters(array('field')); $selected[] = $_REQUEST['field']; |