diff --git a/views_pdf_plugin_display.inc b/views_pdf_plugin_display.inc index 1df5ed0..93ed7da 100644 --- a/views_pdf_plugin_display.inc +++ b/views_pdf_plugin_display.inc @@ -118,7 +118,7 @@ class views_pdf_plugin_display extends views_plugin_display_page { } if (empty($path_to_store_pdf)) { - $path_to_store_pdf = $this->view->name; + $path_to_store_pdf = $this->view->get_title(); } if (!preg_match('/\.pdf$/', $path_to_store_pdf)) {