[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 29/32: Bug : ledger doesn't exist in 7.4 beca
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 29/32: Bug : ledger doesn't exist in 7.4 because the return value |
Date: |
Thu, 5 Jan 2023 14:18:32 -0500 (EST) |
sparkyx pushed a commit to branch devel
in repository noalyss.
commit c9a16035cae68fbadff881f4e12bfe0a96834867
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Thu Jan 5 11:37:02 2023 +0100
Bug : ledger doesn't exist in 7.4 because the return value
---
include/cfgledger.inc.php | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/cfgledger.inc.php b/include/cfgledger.inc.php
index aee29ec83..0ca66b31e 100644
--- a/include/cfgledger.inc.php
+++ b/include/cfgledger.inc.php
@@ -51,10 +51,10 @@ if ( $action_frm == 'update')
try
{
$ledger->set_ledger_id($http->post('p_jrn',"number"));
- if ( $ledger->load() == -1) throw new Exception (_('Journal
inexistant'));
+ if ( $ledger->load() == false ) throw new Exception (_('Journal
inexistant'));
$ledger->verify_ledger($_POST);
$ledger->update($_POST);
- $show_menu=1;
+ $show_menu=1;
} catch (Exception $e)
{
record_log($e->getMessage());
@@ -129,7 +129,7 @@ switch ($sa)
echo '<div class="content">';
echo '<form id="cfg_ledger_frm" method="POST">';
echo $ledger->display_ledger();
- echo HtmlInput::hidden('action_frm','');
+ echo HtmlInput::hidden('action_frm','');
echo '<INPUT TYPE="SUBMIT" class="smallbutton"
VALUE="'._("Sauve").'" name="update"
onClick="$(\'action_frm\').value=\'update\';return
confirm_box(\'cfg_ledger_frm\',\'Valider ?\')">
<INPUT TYPE="RESET" class="smallbutton" VALUE="Reset">
<INPUT TYPE="submit" class="smallbutton" name="efface"
value="'._("Efface").'" onClick="$(\'action_frm\').value=\'delete\';return
confirm_box(\'cfg_ledger_frm\',\'Vous effacez ce journal ?\')">';
- [Noalyss-commit] [noalyss] 24/32: New : Follow Up , the description modifiable is using NicEdit, (continued)
- [Noalyss-commit] [noalyss] 24/32: New : Follow Up , the description modifiable is using NicEdit, Dany De Bontridder, 2023/01/05
- [Noalyss-commit] [noalyss] 21/32: Merge branch 'dev-9035-tva-code', Dany De Bontridder, 2023/01/05
- [Noalyss-commit] [noalyss] 31/32: Merge branch 'devel-venus2', Dany De Bontridder, 2023/01/05
- [Noalyss-commit] [noalyss] 19/32: Improve ManageTable : add a ctl_pk_id as attribute in the row + doc, Dany De Bontridder, 2023/01/05
- [Noalyss-commit] [noalyss] 18/32: Improve install config.inc.php file, Dany De Bontridder, 2023/01/05
- [Noalyss-commit] [noalyss] 15/32: Cosmetic add alert box, Dany De Bontridder, 2023/01/05
- [Noalyss-commit] [noalyss] 03/32: Cosmetic, Dany De Bontridder, 2023/01/05
- [Noalyss-commit] [noalyss] 06/32: Ergonomy : add button Close Cosmetic : color, Dany De Bontridder, 2023/01/05
- [Noalyss-commit] [noalyss] 08/32: Follow Up small bug with the #document_id, Dany De Bontridder, 2023/01/05
- [Noalyss-commit] [noalyss] 09/32: remove comment, Dany De Bontridder, 2023/01/05
- [Noalyss-commit] [noalyss] 29/32: Bug : ledger doesn't exist in 7.4 because the return value,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 26/32: Fix bug : for new TVA id not taken into account but auto-computed, Dany De Bontridder, 2023/01/05
- [Noalyss-commit] [noalyss] 25/32: Forgotten files, Dany De Bontridder, 2023/01/05
- [Noalyss-commit] [noalyss] 16/32: 0Task #002219: Compatibilit PHP 8.2 : Deprecated: Creation of dynamic property ..., Dany De Bontridder, 2023/01/05
- [Noalyss-commit] [noalyss] 17/32: add gitignore file, Dany De Bontridder, 2023/01/05
- [Noalyss-commit] [noalyss] 14/32: Administration : user show email, Dany De Bontridder, 2023/01/05
- [Noalyss-commit] [noalyss] 30/32: Function load : give the return type, Dany De Bontridder, 2023/01/05
- [Noalyss-commit] [noalyss] 05/32: Restore file, Dany De Bontridder, 2023/01/05
- [Noalyss-commit] [noalyss] 04/32: Cosmetic, Dany De Bontridder, 2023/01/05