diff --git a/PdfHandler_body.php b/PdfHandler_body.php index 2a08a95..d69f667 100644 --- a/PdfHandler_body.php +++ b/PdfHandler_body.php @@ -325,9 +325,10 @@ class PdfHandler extends ImageHandler { /** * @param $image File + * @param bool|IContextSource $context Context to use (optional) * @return bool|int */ - function formatMetadata( $image ) { + function formatMetadata( $image, $context = false ) { $meta = $image->getMetadata(); if ( !$meta ) {