Skip to content

Commit 4376303

Browse files
authored
Merge pull request #321 from RichardPiel/master
Bugfix : WkhtmlToPdfEngine with window and PHP 8.x
2 parents 5699c39 + a50af4d commit 4376303

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Pdf/Engine/WkHtmlToPdfEngine.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ protected function _getCommand(): string
150150
}
151151
$command .= ' - -';
152152

153-
if ($this->_windowsEnvironment) {
153+
if ($this->_windowsEnvironment && PHP_MAJOR_VERSION < 8) {
154154
$command = '"' . $command . '"';
155155
}
156156

0 commit comments

Comments
 (0)