From 0d6a8102df1858c305177b7bee6ca0d8149feaa4 Mon Sep 17 00:00:00 2001
From: scyrma <scyrma>
Date: Mon, 31 Mar 2008 06:53:35 +0000
Subject: [PATCH] MDL-14103 - remove the call to s() - the string has to
 already be in html format. (merge - 1.9)

---
 lib/weblib.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/weblib.php b/lib/weblib.php
index b826f25a2e9..9191b29a29e 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 .= '<input type="submit" value="'. s($label) ."\" $tooltip $disabled $jsconfirmmessage/></div></form></div>";