[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_3_1-8290-gf989d6f
Rouslan Placella
roccivic at users.sourceforge.net
Thu Jul 14 14:07:22 CEST 2011
The branch, master has been updated
via f989d6f0cf61c861af0a37af12e3a24af7cdf4ee (commit)
from 9ca378d79454c5a021bfdd9f231c399cfe8355fc (commit)
- Log -----------------------------------------------------------------
commit f989d6f0cf61c861af0a37af12e3a24af7cdf4ee
Author: Rouslan Placella <rouslan at placella.com>
Date: Thu Jul 14 13:06:31 2011 +0100
Fixed handling of length/values for the return variable of functions
-----------------------------------------------------------------------
Summary of changes:
libraries/rte/rte_routines.lib.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libraries/rte/rte_routines.lib.php b/libraries/rte/rte_routines.lib.php
index 4172208..9a9c8f2 100644
--- a/libraries/rte/rte_routines.lib.php
+++ b/libraries/rte/rte_routines.lib.php
@@ -1129,7 +1129,7 @@ function PMA_RTN_getQueryFromRequest()
&& !preg_match('@^(DATE|DATETIME|TIME|TINYBLOB|TINYTEXT|BLOB|TEXT|MEDIUMBLOB|MEDIUMTEXT|LONGBLOB|LONGTEXT|SERIAL|BOOLEAN)$@i',
$_REQUEST['item_returntype'])
) {
- $query .= "(" . intval($_REQUEST['item_returnlength']) . ")";
+ $query .= "(" . $_REQUEST['item_returnlength'] . ")";
} else if (empty($_REQUEST['item_returnlength']) && preg_match('@^(ENUM|SET|VARCHAR|VARBINARY)$@i', $_REQUEST['item_returntype'])) {
if (! $warned_about_length) {
$warned_about_length = true;
hooks/post-receive
--
phpMyAdmin
More information about the Git
mailing list