[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 06/09: correct global g_parameter
From: |
dwm |
Subject: |
[Noalyss-commit] [noalyss] 06/09: correct global g_parameter |
Date: |
Sun, 17 Sep 2023 15:06:13 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit debfa65ed12795ec34e7af9fcbde4076c8a462b9
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Fri Sep 15 19:13:00 2023 +0200
correct global g_parameter
---
include/class/acc_ledger_search.class.php | 3 ++-
include/template/ledger_search.php | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/include/class/acc_ledger_search.class.php
b/include/class/acc_ledger_search.class.php
index 673b2720c..de404825e 100644
--- a/include/class/acc_ledger_search.class.php
+++ b/include/class/acc_ledger_search.class.php
@@ -104,7 +104,8 @@ class Acc_Ledger_Search
*/
function search_form()
{
- global $g_user;
+ global $g_user,$g_parameter;
+ $g_parameter=new Noalyss_Parameter_Folder($this->cn);
$http=new HttpInput();
$r="";
$bledger_param=json_encode(array(
diff --git a/include/template/ledger_search.php
b/include/template/ledger_search.php
index a5ac3bba8..6a8010f03 100644
--- a/include/template/ledger_search.php
+++ b/include/template/ledger_search.php
@@ -1,7 +1,7 @@
<?php
//This file is part of NOALYSS and is under GPL
//see licence.txt
-global $g_parameter;
+
?>
<table id="<?=$this->div?>table_search">
- [Noalyss-commit] [noalyss] branch master updated (b77ac34d8 -> 4bf2ca815), dwm, 2023/09/17
- [Noalyss-commit] [noalyss] 07/09: Comptability PHP8.1, dwm, 2023/09/17
- [Noalyss-commit] [noalyss] 01/09: PHP8.1 deprecated, dwm, 2023/09/17
- [Noalyss-commit] [noalyss] 05/09: Default currency, dwm, 2023/09/17
- [Noalyss-commit] [noalyss] 06/09: correct global g_parameter,
dwm <=
- [Noalyss-commit] [noalyss] 02/09: compatibility PHP8.1, dwm, 2023/09/17
- [Noalyss-commit] [noalyss] 08/09: Remove dead code, dwm, 2023/09/17
- [Noalyss-commit] [noalyss] 03/09: Bug cannot update description in FOLLOW->event, dwm, 2023/09/17
- [Noalyss-commit] [noalyss] 04/09: Merge branch 'patch-230902', dwm, 2023/09/17
- [Noalyss-commit] [noalyss] 09/09: task #2297: Suppression $_REQUEST dossier.class.php, dwm, 2023/09/17