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

Allow bigger numbers under 32 bits

This commit is contained in:
Jakub Vrana
2010-10-22 23:36:56 +02:00
parent 28f21aaa6c
commit 04eccbad62
7 changed files with 12 additions and 12 deletions

View File

@@ -58,7 +58,7 @@ if ($in) {
echo "<tr><th>" . $adminer->fieldName($field);
$value = $_POST["fields"][$name];
if ($value != "" && ereg("enum|set", $field["type"])) {
$value = intval($value);
$value = +$value;
}
input($field, $value, (string) $_POST["function"][$name]); // param name can be empty
echo "\n";