From a43530d8259716c6f153896d4f4afa26ff4f4f67 Mon Sep 17 00:00:00 2001 From: csteipp Date: Thu, 1 May 2014 12:58:46 -0700 Subject: [PATCH] Initialize static input to null Followup to I8710844f21d21cbbf28517b0cc25b0713b506bee. Change-Id: I1163deeaf18a31480ed425c7aedd0024591fd4ce --- includes/WebRequest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/WebRequest.php b/includes/WebRequest.php index 9bc464ad4d..12cf0d9f97 100644 --- 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; -- 2.20.1