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:
Diffstat (limited to 'tbl_addfield.php')
-rw-r--r--tbl_addfield.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tbl_addfield.php b/tbl_addfield.php
index 2996d147ab..1a01610352 100644
--- a/tbl_addfield.php
+++ b/tbl_addfield.php
@@ -74,7 +74,7 @@ if (isset($_REQUEST['do_save_data'])) {
) {
foreach ($_REQUEST['field_mimetype'] as $fieldindex => $mimetype) {
if (isset($_REQUEST['field_name'][$fieldindex])
- && mb_strlen($_REQUEST['field_name'][$fieldindex])
+ && strlen($_REQUEST['field_name'][$fieldindex]) > 0
) {
PMA_setMIME(
$db, $table,