noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 04/09: Give error with PHPUNIT


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 04/09: Give error with PHPUNIT
Date: Mon, 17 Jan 2022 14:58:28 -0500 (EST)

sparkyx pushed a commit to branch devel
in repository noalyss.

commit 1d224ee165fe27e4418c0646baf62ec19b11b85e
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Wed Jan 5 14:24:19 2022 +0100

    Give error with PHPUNIT
---
 include/class/acc_ledger_fin.class.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/class/acc_ledger_fin.class.php 
b/include/class/acc_ledger_fin.class.php
index a0163f9b..3247b4e9 100644
--- a/include/class/acc_ledger_fin.class.php
+++ b/include/class/acc_ledger_fin.class.php
@@ -1070,7 +1070,7 @@ class Acc_Ledger_Fin extends Acc_Ledger
                 {
                     // first record we upload the files and
                     // keep variable to update other row of jrn
-                    if (isset($_FILES))
+                    if (isset($_FILES['pj']))
                         $oid=$this->db->save_receipt($seq);
                 }
                 else



reply via email to

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