This commit is contained in:
kremsy
2014-05-01 17:35:20 +02:00
committed by Steffen Schröder
parent aa023dba43
commit 145aa29c17
@@ -75,7 +75,7 @@ class AsynchronousFileReader {
* @param string $customHeader * @param string $customHeader
* @return bool * @return bool
*/ */
public function loadFile($url, $function, $contentType = 'utf-8', $customHeader = '') { public function loadFile($url, $function, $contentType = 'UTF-8', $customHeader = '') {
if (!is_callable($function)) { if (!is_callable($function)) {
$this->maniaControl->log("Function is not callable"); $this->maniaControl->log("Function is not callable");
return false; return false;