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.
1 parent 4f97b1d commit d22217dCopy full SHA for d22217d
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