https://bugzilla.wikimedia.org/show_bug.cgi?id=37632
--- Comment #2 from Adrian Siemieniak <[email protected]> 2012-06-16 23:43:46 UTC --- > --- PdfHandler_body.php 2012-06-15 18:50:21.574756245 +0200 > +++ PdfHandler_body.php-orig 2012-06-15 18:50:04.247514269 +0200 > @@ -103,8 +103,7 @@ > > $width = $params['width']; > $height = $params['height']; > - $srcPath = $image->getLocalRefPath(); > + $srcPath = $image->getPath(); > $page = $params['page']; > > if ( $page > $this->pageCount( $image ) ) { > > Cheers! Adrian I've just saw my mistake ;) - patch should be other way around --- PdfHandler_body.php 2012-06-15 18:50:21.574756245 +0200 +++ PdfHandler_body.php-orig 2012-06-15 18:50:04.247514269 +0200 @@ -103,8 +103,7 @@ $width = $params['width']; $height = $params['height']; - $srcPath = $image->getPath(); + $srcPath = $image->getLocalRefPath(); $page = $params['page']; if ( $page > $this->pageCount( $image ) ) { -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
