Added a few lines to handle inline edit requests

This commit is contained in:
ninadsp
2010-07-21 00:12:17 +05:30
parent f7076ab686
commit e9731e39c7

View File

@@ -580,6 +580,15 @@ if (0 == $num_rows || $is_affected) {
// At least one row is returned -> displays a table with results
else {
//If we are retrieving the full value of a truncated field or the original
// value of a transformed field, show it here and exit
if( $GLOBALS['inline_edit'] == true) {
$row = PMA_DBI_fetch_row($result);
$extra_data = array();
$extra_data['value'] = $row[0];
PMA_ajaxResponse(NULL, true, $extra_data);
}
// Displays the headers
if (isset($show_query)) {
unset($show_query);