Fix to incorrect calls of header () breaking saving some pages and login
authorAlexander I. Mashin <alex.mashin@gmail.com>
Tue, 2 Aug 2016 13:08:05 +0000 (20:08 +0700)
committerBartosz Dziewoński <matma.rex@gmail.com>
Wed, 21 Sep 2016 20:20:33 +0000 (20:20 +0000)
commit0c34f5fc1a7ebedb4307e1f54a70a5009d9115dc
treed5b9dc2756b16294ee87d66422c2b5b725d920ce
parenta0fe0eeb5a5e8d1ba79a7e2ff9d87eed3ed89bb3
Fix to incorrect calls of header () breaking saving some pages and login

This is to fix incorrect calls of header () with null as its third parametre
in WebResponse::header ().

Under HHVM 3.14.3 this causes warnings in error.log and breaks saving page
and user login.

Bug: T140864
Change-Id: I98291e2746e92e22672de077bccfb36ae91d2c62
includes/WebResponse.php