[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 18/29: PHP8.1 Compatibility
From: |
dwm |
Subject: |
[Noalyss-commit] [noalyss] 18/29: PHP8.1 Compatibility |
Date: |
Sat, 6 Jan 2024 05:59:15 -0500 (EST) |
sparkyx pushed a commit to branch devel
in repository noalyss.
commit 6d053fe5e2b46b06f407771b2708851e4414b4fb
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Sat Dec 23 11:06:02 2023 +0100
PHP8.1 Compatibility
---
include/template/ledger_detail_bottom.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/template/ledger_detail_bottom.php
b/include/template/ledger_detail_bottom.php
index ecef286b1..0512a3c8c 100644
--- a/include/template/ledger_detail_bottom.php
+++ b/include/template/ledger_detail_bottom.php
@@ -208,10 +208,10 @@ if ($aRap != null ) {
array($internal));
// add additional tax if any
$add=$operation->get_sum_other_tax();
- $amount=bcadd($amount,$add,2);
+ $amount=bcadd($amount??0,$add??0,2);
break;
}
- $total_rec=bcadd($total_rec,$amount);
+ $total_rec=bcadd($total_rec,$amount??0);
$str="modifyOperation(".$aRap[$e].",".$gDossier.")";
// If write access , allow to drop Reconciles operations
- [Noalyss-commit] [noalyss] 02/29: PHP Compatibility, (continued)
- [Noalyss-commit] [noalyss] 02/29: PHP Compatibility, dwm, 2024/01/06
- [Noalyss-commit] [noalyss] 05/29: Bug cosmetic : when update in a window, dwm, 2024/01/06
- [Noalyss-commit] [noalyss] 07/29: Improve Debug, dwm, 2024/01/06
- [Noalyss-commit] [noalyss] 08/29: typo, dwm, 2024/01/06
- [Noalyss-commit] [noalyss] 09/29: Fix Bug Balance Accountancy, dwm, 2024/01/06
- [Noalyss-commit] [noalyss] 10/29: cosmetic : color info password, dwm, 2024/01/06
- [Noalyss-commit] [noalyss] 11/29: PHP8.1 Compatibility, dwm, 2024/01/06
- [Noalyss-commit] [noalyss] 13/29: Code improve : Acc_Balance utilise PDF_CORE::is_fill, dwm, 2024/01/06
- [Noalyss-commit] [noalyss] 14/29: Improve Code : permet d'avoir plusieurs couleurs sur une ligne, dwm, 2024/01/06
- [Noalyss-commit] [noalyss] 17/29: Improve : PRINTJRN search in detail VAT mode, dwm, 2024/01/06
- [Noalyss-commit] [noalyss] 18/29: PHP8.1 Compatibility,
dwm <=
- [Noalyss-commit] [noalyss] 21/29: PhpUnit : test, dwm, 2024/01/06
- [Noalyss-commit] [noalyss] 20/29: Bug fix : sent emails not counted properly, dwm, 2024/01/06
- [Noalyss-commit] [noalyss] 23/29: Task #1749: Cases «Débit» dans les OD's fait remarquer si débit ou crédit, dwm, 2024/01/06
- [Noalyss-commit] [noalyss] 04/29: cosmetic info password, dwm, 2024/01/06
- [Noalyss-commit] [noalyss] 12/29: Fix bug : $g_parameter non initialisé pour plugin, dwm, 2024/01/06
- [Noalyss-commit] [noalyss] 22/29: Task #0002318: Envoi email : forcer le domaine de l'expéditeur Adapter le fichier config, dwm, 2024/01/06
- [Noalyss-commit] [noalyss] 24/29: Task #1749: Cases «Débit» dans les OD's fait remarquer si débit ou crédit, dwm, 2024/01/06
- [Noalyss-commit] [noalyss] 15/29: TFPDF mise à jour 1.33, dwm, 2024/01/06
- [Noalyss-commit] [noalyss] 27/29: fixup! fixup! Task #1749: Cases «Débit» dans les OD's fait remarquer si débit ou crédit, dwm, 2024/01/06
- [Noalyss-commit] [noalyss] 29/29: Cosmetic Totaux OD, dwm, 2024/01/06