From d304002fc0bf75efe1f714d5a5cca91287528cd3 Mon Sep 17 00:00:00 2001 From: ninadsp Date: Mon, 30 Aug 2010 00:24:33 +0530 Subject: [PATCH] Re-initialize for each data field. It was being cleared in a BLOB field, which caused inline editing to fail for all further fields in that row --- libraries/display_tbl.lib.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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])) {