[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 05/07: Bug #0002197: Journaux désactivés enco
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 05/07: Bug #0002197: Journaux désactivés encore partiellement visibles |
Date: |
Fri, 30 Sep 2022 09:35:56 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 9a2527aa3db1a0728d34fdc085061e79a949cb62
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Mon Sep 19 21:43:39 2022 +0200
Bug #0002197: Journaux désactivés encore partiellement visibles
---
include/class/acc_ledger.class.php | 2 +-
sql/upgrade.sql | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/include/class/acc_ledger.class.php
b/include/class/acc_ledger.class.php
index 0595a7998..a3fe4f913 100644
--- a/include/class/acc_ledger.class.php
+++ b/include/class/acc_ledger.class.php
@@ -1597,7 +1597,7 @@ class Acc_Ledger extends jrn_def_sql
public function get_first($p_type, $p_access=3)
{
global $g_user;
- $all=$g_user->get_ledger($p_type, $p_access);
+ $all=$g_user->get_ledger($p_type, $p_access,false);
if (empty ($all)) return NULL;
return $all[0];
}
diff --git a/sql/upgrade.sql b/sql/upgrade.sql
index e69de29bb..c964a7685 100644
--- a/sql/upgrade.sql
+++ b/sql/upgrade.sql
@@ -0,0 +1,2 @@
+update menu_ref set me_menu='Journal' where me_code='CFGLED';
+
- [Noalyss-commit] [noalyss] branch master updated (4e87d72e8 -> e133e0ca8), Dany De Bontridder, 2022/09/30
- [Noalyss-commit] [noalyss] 03/07: Cosmetic, Dany De Bontridder, 2022/09/30
- [Noalyss-commit] [noalyss] 01/07: Cosmetic Bug : empty is filled with the last value, Dany De Bontridder, 2022/09/30
- [Noalyss-commit] [noalyss] 02/07: Optional attribute for using quantity, Dany De Bontridder, 2022/09/30
- [Noalyss-commit] [noalyss] 04/07: Cosmetic email, Dany De Bontridder, 2022/09/30
- [Noalyss-commit] [noalyss] 05/07: Bug #0002197: Journaux désactivés encore partiellement visibles,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 06/07: Cosmetic Bug : card box too small, Dany De Bontridder, 2022/09/30
- [Noalyss-commit] [noalyss] 07/07: Improve DEBUG, Dany De Bontridder, 2022/09/30