From 43819596c8b5a72c7be41409fc43a7d13549404b Mon Sep 17 00:00:00 2001 From: Rouslan Placella Date: Wed, 8 Jun 2011 13:01:01 +0100 Subject: [PATCH] Fixed bug where the "Drop parameter" option disappeared in the Routine Editor if $cfg['PropertiesIconic'] was set to FALSE. --- libraries/db_routines.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/db_routines.inc.php b/libraries/db_routines.inc.php index 88a2ec00e5..06e538f4e0 100644 --- a/libraries/db_routines.inc.php +++ b/libraries/db_routines.inc.php @@ -509,7 +509,7 @@ function getFormInputFromRequest() * @uses getSupportedDatatypes() */ function displayRoutineEditor($mode, $operation, $routine, $errors) { - global $db, $table, $url_query, $param_directions, $param_sqldataaccess; + global $db, $table, $titles, $url_query, $param_directions, $param_sqldataaccess; // Handle some logic first if ($operation == 'change') { @@ -609,7 +609,7 @@ function displayRoutineEditor($mode, $operation, $routine, $errors) { $retval .= " value='{$routine['param_length'][$i]}' />\n"; $retval .= " \n"; $retval .= " \n"; - $retval .= " " . PMA_getIcon('b_drop.png') . "\n"; + $retval .= " {$titles['Drop']}\n"; $retval .= " \n"; $retval .= " \n"; $retval .= " \n";