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:
13e33c2
)
Initialize static input to null
author
csteipp
<csteipp@wikimedia.org>
Thu, 1 May 2014 19:58:46 +0000
(12:58 -0700)
committer
csteipp
<csteipp@wikimedia.org>
Thu, 1 May 2014 19:58:46 +0000
(12:58 -0700)
Followup to I8710844f21d21cbbf28517b0cc25b0713b506bee.
Change-Id: I1163deeaf18a31480ed425c7aedd0024591fd4ce
includes/WebRequest.php
patch
|
blob
|
history
diff --git
a/includes/WebRequest.php
b/includes/WebRequest.php
index
9bc464a
..
12cf0d9
100644
(file)
--- a/
includes/WebRequest.php
+++ b/
includes/WebRequest.php
@@
-626,8
+626,8
@@
class WebRequest {
* @return string
*/
public function getRawInput() {
- static $input =
false
;
- if ( $input ===
false
) {
+ static $input =
null
;
+ if ( $input ===
null
) {
$input = file_get_contents( 'php://input' );
}
return $input;