Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6944b5e
)
MDL-24282 fixed double decode - I just meant to specify default value there, sorry...
author
Petr Skoda
<skodak@moodle.org>
Wed, 22 Sep 2010 15:03:39 +0000
(15:03 +0000)
committer
Petr Skoda
<skodak@moodle.org>
Wed, 22 Sep 2010 15:03:39 +0000
(15:03 +0000)
lib/weblib.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/weblib.php
b/lib/weblib.php
index
6cfb9a6
..
6c3e7a0
100644
(file)
--- a/
lib/weblib.php
+++ b/
lib/weblib.php
@@
-121,7
+121,7
@@
function s($var, $obsolete = false) {
return '0';
}
- return preg_replace("/&#(\d+|x[0-7a-fA-F]+);/i", "&#$1;", htmlspecialchars($var, ENT_QUOTES, 'UTF-8',
fals
e));
+ return preg_replace("/&#(\d+|x[0-7a-fA-F]+);/i", "&#$1;", htmlspecialchars($var, ENT_QUOTES, 'UTF-8',
tru
e));
}
/**