Rerun
[fa-stable.git] / reporting / includes / pdf_report.inc
index 10348cfea712b20e2f1d783ec5f90e3fba146b88..b0277f1eda17de64b9bdd71c384b8ce9c0e60598 100644 (file)
@@ -9,7 +9,6 @@
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
     See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
 ***********************************************************************/
-$page_security = 8;
 //include_once($path_to_root . "reporting/includes/class.pdf.inc");
 include_once(dirname(__FILE__)."/class.pdf.inc");
 include_once(dirname(__FILE__)."/printer_class.inc");
@@ -54,7 +53,7 @@ class FrontReport extends Cpdf
                global $page_security;
                if (!$_SESSION["wa_current_user"]->can_access_page($page_security))
                {
-                       display_error(_("The security settings on your account do not permit you to access this function"));
+                       display_error(_("The security settings on your account do not permit you to print this report"));
                        end_page();
                        exit;
                }