diff --git a/libraries/common.lib.php b/libraries/common.lib.php index 2b7f738ac..7451df411 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -2180,11 +2180,14 @@ function PMA_getUniqueCondition($handle, $fields_cnt, $fields_meta, $row, $force * @access public */ function PMA_buttonOrImage($button_name, $button_class, $image_name, $text, - $image) + $image, $value = '') { + if ($value == '') { + $value = $text; + } if (false === $GLOBALS['cfg']['PropertiesIconic']) { echo ' ' . "\n"; return; } @@ -2193,13 +2196,13 @@ function PMA_buttonOrImage($button_name, $button_class, $image_name, $text, /* IE has trouble with ' . "\n"; } else { echo '' . ($GLOBALS['cfg']['PropertiesIconic'] === 'both' ? ' ' . htmlspecialchars($text) : '') . "\n"; }