Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
GIP RENATER
switch-wayf
Commits
30e7a098
Commit
30e7a098
authored
Dec 15, 2010
by
haemmer
Browse files
Fixed #411
parent
b7d99ad0
Changes
1
Hide whitespace changes
Inline
Side-by-side
functions.php
View file @
30e7a098
...
...
@@ -306,7 +306,7 @@ function getLocalString($string, $encoding = ''){
/******************************************************************************/
// Converts string to a JavaScript format that can be used in JS alert
function
convertToJSString
(
$string
){
return
addslashes
(
utf8_encode
(
html_entity_decode
(
$string
)
));
return
addslashes
(
html_entity_decode
(
$string
,
ENT_COMPAT
,
'UTF-8'
));
}
/******************************************************************************/
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment