diff --git a/libraries/DisplayResults.class.php b/libraries/DisplayResults.class.php index 57cfbb1f30..0c72fc7b54 100644 --- a/libraries/DisplayResults.class.php +++ b/libraries/DisplayResults.class.php @@ -1624,7 +1624,7 @@ class PMA_DisplayResults $options_html .= PMA_URL_getHiddenInputs($url_params) . '
' . PMA_Util::getDivForSliderEffect( - 'displayoptions', __('Options') + '', __('Options') ) . '
'; diff --git a/libraries/Util.class.php b/libraries/Util.class.php index fd93109269..c06d7755da 100644 --- a/libraries/Util.class.php +++ b/libraries/Util.class.php @@ -2722,10 +2722,10 @@ class PMA_Util * @return string html div element * */ - public static function getDivForSliderEffect($id, $message) + public static function getDivForSliderEffect($id = '', $message = '') { if ($GLOBALS['cfg']['InitialSlidersState'] == 'disabled') { - return '
'; + return ''; } /** * Bad hack on the next line. document.write() conflicts with jQuery, @@ -2736,11 +2736,14 @@ class PMA_Util * append to */ - return '