1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-11 17:14:07 +02:00

Clear POST with AJAX redirect

This commit is contained in:
Jakub Vrana
2010-10-18 00:05:39 +02:00
parent a93e069d06
commit de24145d81
2 changed files with 7 additions and 4 deletions

View File

@@ -333,7 +333,7 @@ if (!$columns) {
}
}
$id = h("val[$unique_idf][" . bracket_escape($key) . "]");
$value = ($error ? $_POST["val"][$unique_idf][bracket_escape($key)] : null);
$value = $_POST["val"][$unique_idf][bracket_escape($key)];
$h_value = h(isset($value) ? $value : $row[$key]);
$long = strpos($val, "<i>...</i>");
$editable = is_utf8($val) && !$long && $rows[$n][$key] == $row[$key] && !$functions[$key];