fix egw_json::sendHeader() should not be called static warning

This commit is contained in:
Ralf Becker 2016-02-22 16:13:14 +00:00
parent 67e6965b1f
commit 21a79c502f

View File

@ -455,7 +455,7 @@ class egw_json_response extends egw_json_msg
/** /**
* Private function used to send the HTTP header of the JSON response * Private function used to send the HTTP header of the JSON response
*/ */
private function sendHeader() private static function sendHeader()
{ {
$file = $line = null; $file = $line = null;
if (headers_sent($file, $line)) if (headers_sent($file, $line))