[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_0BETA2-1593-gf2ebfe1

Michal Čihař nijel at users.sourceforge.net
Wed Feb 2 14:48:44 CET 2011


The branch, master has been updated
       via  f2ebfe1bd53abc3962256e3c574cc26aa70cd36e (commit)
      from  a6e1212d12e40d0037c5dd989c5aa3815a2b3b73 (commit)


- Log -----------------------------------------------------------------
commit f2ebfe1bd53abc3962256e3c574cc26aa70cd36e
Author: Michal Čihař <mcihar at novell.com>
Date:   Wed Feb 2 14:48:36 2011 +0100

    Show links only when editing

-----------------------------------------------------------------------

Summary of changes:
 tbl_alter.php |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/tbl_alter.php b/tbl_alter.php
index f60523f..fa82d7c 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'];


hooks/post-receive
-- 
phpMyAdmin




More information about the Git mailing list