]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
add extension for pdf file
authortcit <tcit@tcit.fr>
Sun, 28 Sep 2014 10:18:47 +0000 (12:18 +0200)
committertcit <tcit@tcit.fr>
Sun, 28 Sep 2014 10:18:47 +0000 (12:18 +0200)
inc/poche/WallabagEBooks.class.php

index 6656973096b2a1108419e3d6e0a415f24ac0ff83..9dc545dfeac028b1dd5dfa97f1a64dec71942dbc 100644 (file)
@@ -299,11 +299,9 @@ class WallabagPDF extends WallabagEbooks
 
         // set image scale factor
         $pdf->setImageScale(PDF_IMAGE_SCALE_RATIO);
-
-        
         
 
-        $pdf->Output($this->bookFileName, 'FD');
+        $pdf->Output($this->bookFileName . '.pdf', 'FD');
 
        }
 }
\ No newline at end of file