noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 209/218: PDFLand has now his own file


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 209/218: PDFLand has now his own file
Date: Thu, 12 Sep 2019 15:59:11 -0400 (EDT)

sparkyx pushed a commit to branch entreprise
in repository noalyss.

commit e53ff6718ec29825370cda11666efb584f8532a5
Author: Dany De Bontridder <address@hidden>
Date:   Mon Sep 9 19:54:20 2019 +0200

    PDFLand has now his own file
---
 html/extension.raw.php                           | 4 ++--
 include/class/print_ledger_detail_item.class.php | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/html/extension.raw.php b/html/extension.raw.php
index 728aafa..d8f8abb 100644
--- a/html/extension.raw.php
+++ b/html/extension.raw.php
@@ -34,7 +34,7 @@ require_once NOALYSS_INCLUDE.'/lib/iselect.class.php';
 require_once  NOALYSS_INCLUDE.'/class/user.class.php';
 
 global $g_user,$cn,$g_parameter;
-
+$http=new HttpInput();
 $cn=Dossier::connect();
 $g_user=new User($cn);
 $g_user->check();
@@ -42,7 +42,7 @@ $only_plugin=$g_user->check_dossier(dossier::id());
 set_language();
 $ext=new Extension($cn);
 
-if ( $ext->search($_REQUEST['plugin_code']) != -1 )
+if ( $ext->search($http->request("plugin_code")) != -1 )
   {
     /* security */
     if ( !isset ($_SESSION['g_user']) || 
$ext->can_request($_SESSION['g_user']) == 0 )
diff --git a/include/class/print_ledger_detail_item.class.php 
b/include/class/print_ledger_detail_item.class.php
index a92ea36..745fea5 100644
--- a/include/class/print_ledger_detail_item.class.php
+++ b/include/class/print_ledger_detail_item.class.php
@@ -25,6 +25,8 @@
  */
 require_once NOALYSS_INCLUDE.'/class/acc_ledger_sold.class.php';
 require_once NOALYSS_INCLUDE.'/class/acc_ledger_purchase.class.php';
+require_once NOALYSS_INCLUDE.'/class/pdf_land.class.php';
+
 class Print_Ledger_Detail_Item extends PDFLand
 {
     public function __construct (Database $p_cn,Acc_Ledger $p_jrn)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]