diff options
author | Christian Foellmann <foellmann@foe-services.de> | 2014-12-23 14:48:13 +0300 |
---|---|---|
committer | Christian Foellmann <foellmann@foe-services.de> | 2014-12-23 14:48:13 +0300 |
commit | 2bfb20e57418ebf396149782be9f98e868fe8608 (patch) | |
tree | a5ec4011410970603d3f462a535a5a359057fa77 /tbl_printview.php | |
parent | 20f1bf77c8281efc675a14e0f6bf52f657dabd9a (diff) |
UPDATE 4.3.34.3.3
Diffstat (limited to 'tbl_printview.php')
-rw-r--r-- | tbl_printview.php | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/tbl_printview.php b/tbl_printview.php index fd500eaf46..f8ca99d908 100644 --- a/tbl_printview.php +++ b/tbl_printview.php @@ -34,10 +34,12 @@ $cfgRelation = PMA_getRelationsParam(); /** * Defines the url to return to in case of error in a sql statement */ -if (strlen($table)) { - $err_url = 'tbl_sql.php?' . PMA_URL_getCommon($db, $table); +if (/*overload*/mb_strlen($table)) { + $err_url = 'tbl_sql.php?' . PMA_URL_getCommon( + array('db' => $db, 'table' => $table) + ); } else { - $err_url = 'db_sql.php?' . PMA_URL_getCommon($db); + $err_url = 'db_sql.php' . PMA_URL_getCommon(array('db' => $db)); } @@ -51,7 +53,7 @@ $GLOBALS['dbi']->selectDb($db); */ if (isset($_POST['selected_tbl']) && is_array($_POST['selected_tbl'])) { $the_tables = $_POST['selected_tbl']; -} elseif (strlen($table)) { +} elseif (/*overload*/mb_strlen($table)) { $the_tables[] = $table; } @@ -59,7 +61,6 @@ $response->addHTML(PMA_getHtmlForTablesInfo($the_tables)); $response->addHTML( PMA_getHtmlForTablesDetail( $the_tables, $db, $cfg, $cfgRelation, - isset($pk_array)? $pk_array: array(), $cell_align_left ) ); |