From 045bce3c9f2c1edc56b179e26c0235d4cb1fce48 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Thu, 10 Feb 2011 11:05:40 +0100 Subject: [PATCH] Use editVal for set values --- adminer/include/functions.inc.php | 2 +- plugins/translation.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/adminer/include/functions.inc.php b/adminer/include/functions.inc.php index b71c4ead..f82decc8 100644 --- a/adminer/include/functions.inc.php +++ b/adminer/include/functions.inc.php @@ -674,7 +674,7 @@ function input($field, $value, $function) { foreach ($matches[1] as $i => $val) { $val = stripcslashes(str_replace("''", "'", $val)); $checked = (is_int($value) ? ($value >> $i) & 1 : in_array($val, explode(",", $value), true)); - echo " '; + echo " '; } } elseif (ereg('blob|bytea|raw|file', $field["type"]) && ini_bool("file_uploads")) { echo ""; diff --git a/plugins/translation.php b/plugins/translation.php index c3e585db..026d76eb 100644 --- a/plugins/translation.php +++ b/plugins/translation.php @@ -10,7 +10,7 @@ CREATE TABLE translation ( ); */ -/** Translate all table comments, field comments and enum values from the translation table (inserts new translations) +/** Translate all table and field comments, enum and set values from the translation table (inserts new translations) * @author Jakub Vrana, http://www.vrana.cz/ * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other)