Commit 39ed73e1 authored by jcnventura's avatar jcnventura

Fix #519320: typo in setting non-blocking wkhtmltopdf pipes

parent 62de0d27
......@@ -309,7 +309,7 @@ function _print_pdf_wkhtmltopdf($print, $html, $filename) {
$pdf = stream_get_contents($pipes[1]);
fclose($pipes[1]);
stream_set_blocking($xpipes[2], 0);
stream_set_blocking($pipes[2], 0);
$error = stream_get_contents($pipes[2]);
if (!empty($error)) {
watchdog('print_pdf', 'wkhtmltopdf: ' . $error);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment