Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChanaka Indrajith <pe.chanaka.ck@gmail.com>2012-05-11 14:35:55 +0400
committerChanaka Indrajith <pe.chanaka.ck@gmail.com>2012-05-11 14:35:55 +0400
commitbf15800089d11e83dc7998e5064dafcf2280c118 (patch)
tree3fbc3e8efb1b064b663a9ba7ee143011516339ac /tbl_relation.php
parent61360750cacb245ef61b62f0134788af7bd8295b (diff)
Remove HTML rendering inside the functions in display_tbl.lib.php file itselves
Diffstat (limited to 'tbl_relation.php')
-rw-r--r--tbl_relation.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tbl_relation.php b/tbl_relation.php
index e640687cc5..a82f23f3d0 100644
--- a/tbl_relation.php
+++ b/tbl_relation.php
@@ -181,7 +181,7 @@ if (isset($destination) && $cfgRelation['relwork']) {
// (for now, one index name only; we keep the definitions if the
// foreign db is not the same)
// I use $sql_query to be able to display directly the query via
-// PMA_showMessage()
+// PMA_getMessage()
if (isset($_REQUEST['destination_foreign'])) {
$display_query = '';
@@ -285,9 +285,9 @@ if (isset($_REQUEST['destination_foreign'])) {
} // end foreach
if (!empty($display_query)) {
if ($seen_error) {
- PMA_showMessage(__('Error'), null, 'error');
+ echo PMA_getMessage(__('Error'), null, 'error');
} else {
- PMA_showMessage(__('Your SQL query has been executed successfully'), null, 'success');
+ echo PMA_getMessage(__('Your SQL query has been executed successfully'), null, 'success');
}
}
} // end if isset($destination_foreign)