diff --git a/libraries/display_tbl.lib.php b/libraries/display_tbl.lib.php
index 26144e0e2..16ac8c9d9 100644
--- a/libraries/display_tbl.lib.php
+++ b/libraries/display_tbl.lib.php
@@ -1076,7 +1076,6 @@ function PMA_displayTableBody(&$dt_result, &$is_display, $map, $analyzed_sql) {
|| $_SESSION['tmp_user_values']['disp_direction'] == 'horizontalflipped') {
// pointer code part
echo '
' . "\n";
- $class = $data_inline_edit_class;
}
@@ -1204,6 +1203,9 @@ function PMA_displayTableBody(&$dt_result, &$is_display, $map, $analyzed_sql) {
$meta = $fields_meta[$i];
$pointer = $i;
$is_field_truncated = false;
+ //If the previous column had blob data, we need to reset the class
+ // to $data_inline_edit_class
+ $class = $data_inline_edit_class;
//If this column's value is null, add the null class to it, needed
//for inline editing
if(is_null($row[$i])) {