Merge "Chunked upload: Return expected offset on offset error"
[lhc/web/wiklou.git] / includes / api / ApiFormatRaw.php
index 235fca1..81d2f4f 100644 (file)
@@ -55,7 +55,7 @@ class ApiFormatRaw extends ApiFormatBase {
                return $data['mime'];
        }
 
-       public function initPrinter( $unused ) {
+       public function initPrinter( $unused = false ) {
                $data = $this->getResultData();
                if ( isset( $data['error'] ) ) {
                        $this->errorFallback->initPrinter( $unused );