Do not fail if transformations are not enabled for this table, but request asks to enable them.

This commit is contained in:
Michal Čihař
2010-12-02 17:20:09 +01:00
parent 89f03ef81b
commit 57265808b8

View File

@@ -643,6 +643,10 @@ if (0 == $num_rows || $is_affected) {
//if some posted fields need to be transformed, generate them here. //if some posted fields need to be transformed, generate them here.
$mime_map = PMA_getMIME($db, $table); $mime_map = PMA_getMIME($db, $table);
if ($mime_map === FALSE) {
$mime_map = array();
}
$edited_values = array(); $edited_values = array();
parse_str($_REQUEST['transform_fields_list'], $edited_values); parse_str($_REQUEST['transform_fields_list'], $edited_values);