From: scyrma Date: Mon, 31 Mar 2008 06:53:35 +0000 (+0000) Subject: MDL-14103 - remove the call to s() - the string has to already be in html format... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=0d6a8102df1858c305177b7bee6ca0d8149feaa4;p=moodle.git MDL-14103 - remove the call to s() - the string has to already be in html format. (merge - 1.9) --- diff --git a/lib/weblib.php b/lib/weblib.php index b826f25a2e..9191b29a29 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -4226,7 +4226,7 @@ function print_single_button($link, $options, $label='OK', $method='get', $notus } if ($jsconfirmmessage){ $jsconfirmmessage = addslashes_js($jsconfirmmessage); - $jsconfirmmessage = 'onclick="'.s('return confirm("'.$jsconfirmmessage.'");').'"'; + $jsconfirmmessage = 'onclick="return confirm(\''. $jsconfirmmessage .'\');" '; } $output .= '";