From 9f9da6d7ac62cbcd5d1aedb99685dee7d7c07cf1 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Mon, 26 Mar 2007 16:13:44 +0000 Subject: [PATCH] do not use controllink for this one --- libraries/relation.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/relation.lib.php b/libraries/relation.lib.php index d987ce639..794831dd0 100644 --- a/libraries/relation.lib.php +++ b/libraries/relation.lib.php @@ -380,7 +380,7 @@ function PMA_getForeigners($db, $table, $column = '', $source = 'both') if (($source == 'both' || $source == 'innodb') && strlen($table)) { $show_create_table_query = 'SHOW CREATE TABLE ' . PMA_backquote($db) . '.' . PMA_backquote($table); - $show_create_table = PMA_DBI_fetch_value($show_create_table_query, 0, 1, $GLOBALS['controllink']); + $show_create_table = PMA_DBI_fetch_value($show_create_table_query, 0, 1); $analyzed_sql = PMA_SQP_analyze(PMA_SQP_parse($show_create_table)); foreach ($analyzed_sql[0]['foreign_keys'] as $one_key) {