Proxy piwik.php script does not send http headers

There seems to be a typo, the function parameter is $header and the used variable is the undefined $head