From 896519cf77b73234ded21f8c81f95ec931bcaeac Mon Sep 17 00:00:00 2001 From: Rouslan Placella Date: Thu, 21 Jul 2011 14:52:30 +0100 Subject: [PATCH] E_ALL fix --- libraries/rte/rte_routines.lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/rte/rte_routines.lib.php b/libraries/rte/rte_routines.lib.php index 9a99b8c395..2edb4ca331 100644 --- a/libraries/rte/rte_routines.lib.php +++ b/libraries/rte/rte_routines.lib.php @@ -1356,6 +1356,8 @@ function PMA_RTN_getExecuteForm($routine) } $retval .= "" . __('Value') . "\n"; $retval .= "\n"; + // Get a list of data types that are not yet supported. + $no_support_types = PMA_unsupportedDatatypes(); for ($i=0; $i<$routine['item_num_params']; $i++) { // Each parameter if ($routine['item_type'] == 'PROCEDURE' && $routine['item_param_dir'][$i] == 'OUT' @@ -1368,8 +1370,6 @@ function PMA_RTN_getExecuteForm($routine) $retval .= "{$routine['item_param_type'][$i]}\n"; if ($cfg['ShowFunctionFields']) { $retval .= "\n"; - // Get a list of data types that are not yet supported. - $no_support_types = PMA_unsupportedDatatypes(); if (stristr($routine['item_param_type'][$i], 'enum') || stristr($routine['item_param_type'][$i], 'set') || in_array(strtolower($routine['item_param_type'][$i]), $no_support_types)