Commit 7171466f authored by jcnventura's avatar jcnventura

Issue #1413906: Fix pdf error redirect in print_pdf_controller().

parent cc955f75
......@@ -55,7 +55,7 @@ function print_pdf_controller() {
$pdf = print_pdf_generate_path($path, $cid, $pdf_filename);
if ($pdf == NULL) {
drupal_goto($print['url']);
drupal_goto($path);
exit;
}
......
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