Show links only when editing
This commit is contained in:
@@ -24,7 +24,6 @@ PMA_checkParameters(array('db', 'table'));
|
|||||||
*/
|
*/
|
||||||
require_once './libraries/tbl_common.php';
|
require_once './libraries/tbl_common.php';
|
||||||
require_once './libraries/tbl_info.inc.php';
|
require_once './libraries/tbl_info.inc.php';
|
||||||
require_once './libraries/tbl_links.inc.php';
|
|
||||||
|
|
||||||
$active_page = 'tbl_structure.php';
|
$active_page = 'tbl_structure.php';
|
||||||
|
|
||||||
@@ -156,6 +155,8 @@ if (isset($_REQUEST['do_save_data'])) {
|
|||||||
* $selected comes from multi_submits.inc.php
|
* $selected comes from multi_submits.inc.php
|
||||||
*/
|
*/
|
||||||
if ($abort == false) {
|
if ($abort == false) {
|
||||||
|
require_once './libraries/tbl_links.inc.php';
|
||||||
|
|
||||||
if (! isset($selected)) {
|
if (! isset($selected)) {
|
||||||
PMA_checkParameters(array('field'));
|
PMA_checkParameters(array('field'));
|
||||||
$selected[] = $_REQUEST['field'];
|
$selected[] = $_REQUEST['field'];
|
||||||
|
Reference in New Issue
Block a user