From 38711c618ac93b6e58eadc36a680061009341ad4 Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Sun, 29 Feb 2004 19:47:59 +0000 Subject: [PATCH] missing addslashes broke edit toolbar on fr --- includes/Skin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Skin.php b/includes/Skin.php index 0bd52f44a8..9e457845ad 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -2350,7 +2350,7 @@ class Skin { $toolbar.="addButton('$image','$tip','$open','$close','$sample');\n"; } - $toolbar.="addInfobox('".wfMsg("infobox")."');\n"; + $toolbar.="addInfobox('".addslashes(wfMsg("infobox"))."');\n"; $toolbar.="document.writeln(\"\");\n"; return $toolbar; } -- 2.20.1