Ignore not set transformation (only MIME type set)
This commit is contained in:
4
sql.php
4
sql.php
@@ -721,6 +721,10 @@ if ((0 == $num_rows && 0 == $unlim_num_rows) || $is_affected) {
|
|||||||
parse_str($_REQUEST['transform_fields_list'], $edited_values);
|
parse_str($_REQUEST['transform_fields_list'], $edited_values);
|
||||||
|
|
||||||
foreach($mime_map as $transformation) {
|
foreach($mime_map as $transformation) {
|
||||||
|
/* Ignore not set transformation (only MIME type set) */
|
||||||
|
if (empty($transformation['transformation'])) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
$include_file = PMA_securePath($transformation['transformation']);
|
$include_file = PMA_securePath($transformation['transformation']);
|
||||||
$column_name = $transformation['column_name'];
|
$column_name = $transformation['column_name'];
|
||||||
$column_data = $edited_values[$column_name];
|
$column_data = $edited_values[$column_name];
|
||||||
|
Reference in New Issue
Block a user