diff options
author | Hugues Peccatte <hugues.peccatte@gmail.com> | 2014-09-28 22:53:01 +0400 |
---|---|---|
committer | Hugues Peccatte <hugues.peccatte@gmail.com> | 2014-09-28 22:53:01 +0400 |
commit | 3de88162ff628a50d220d559954362c21028cc65 (patch) | |
tree | a467d672686ca88369e27b04964950b98928b64f /tbl_create.php | |
parent | 38eb5948a0e19991620b7d9c47c1dc0f284e291a (diff) |
Replace PMA_String uses by mb_* calls.
Remove part of unused variables.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
Diffstat (limited to 'tbl_create.php')
-rw-r--r-- | tbl_create.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tbl_create.php b/tbl_create.php index b685ea5692..234d3349f3 100644 --- a/tbl_create.php +++ b/tbl_create.php @@ -19,7 +19,7 @@ PMA_Util::checkParameters(array('db')); $pmaString = $GLOBALS['PMA_String']; /* Check if database name is empty */ -if ($pmaString->strlen($db) == 0) { +if (/*overload*/mb_strlen($db) == 0) { PMA_Util::mysqlDie( __('The database name is empty!'), '', false, 'index.php' ); @@ -76,7 +76,7 @@ if (isset($_REQUEST['do_save_data'])) { ) { foreach ($_REQUEST['field_mimetype'] as $fieldindex => $mimetype) { if (isset($_REQUEST['field_name'][$fieldindex]) - && $pmaString->strlen($_REQUEST['field_name'][$fieldindex]) + && /*overload*/mb_strlen($_REQUEST['field_name'][$fieldindex]) ) { PMA_setMIME( $db, $table, |