dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
113b630
)
GlobalFunctions: Document the usage of wfUrlencode( null )
author
Fomafix
<fomafix@googlemail.com>
Sat, 9 Mar 2019 13:04:28 +0000
(14:04 +0100)
committer
Fomafix
<fomafix@googlemail.com>
Mon, 25 Mar 2019 17:24:53 +0000
(18:24 +0100)
This was introduced for testing in
53b0052df
.
Change-Id: I318d6d6c04334ea75fbc9ac1771fab9a9db8cb83
includes/GlobalFunctions.php
patch
|
blob
|
history
diff --git
a/includes/GlobalFunctions.php
b/includes/GlobalFunctions.php
index
319bf63
..
55b78ac
100644
(file)
--- a/
includes/GlobalFunctions.php
+++ b/
includes/GlobalFunctions.php
@@
-334,6
+334,7
@@
function wfUrlencode( $s ) {
static $needle;
if ( is_null( $s ) ) {
+ // Reset $needle for testing.
$needle = null;
return '';
}