We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4f97b1d + d22217d commit cc87a04Copy full SHA for cc87a04
src/PDFMerger/PDFMerger.php
@@ -196,7 +196,7 @@ public function merge($orientation = 'P') {
196
$oFPDI = $this->oFPDI;
197
198
$this->aFiles->each(function($file) use($oFPDI, $orientation){
199
- $file['orientation'] = !is_null($file['orientation'])?$orientation:$file['orientation'];
+ $file['orientation'] = is_null($file['orientation'])?$orientation:$file['orientation'];
200
$count = $oFPDI->setSourceFile($file['name']);
201
if ($file['pages'] == 'all') {
202
@@ -220,4 +220,4 @@ public function merge($orientation = 'P') {
220
}
221
});
222
223
-}
+}
0 commit comments