forked from Dolibarr/dolibarr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix cti TypeError PhanTypeMismatchArgumentProbablyReal Argument 1 ($rowid) * Update accountingjournal.class.php * fix phan
- Loading branch information
1 parent
23046a0
commit 39fda91
Showing
3 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* Copyright (C) 2013-2017 Florian Henry <[email protected]> | ||
* Copyright (C) 2013-2024 Alexandre Spangaro <[email protected]> | ||
* Copyright (C) 2017 Laurent Destailleur <[email protected]> | ||
* Copyright (C) 2018-2020 Frédéric France <frederic.france@netlogic.fr> | ||
* Copyright (C) 2018-2024 Frédéric France <frederic.france@free.fr> | ||
* Copyright (C) 2024 MDW <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
|
@@ -52,11 +52,11 @@ | |
$accountingjournal = new AccountingJournal($db); | ||
|
||
$accountingaccount_number = GETPOST('accountingaccount_number', 'alphanohtml'); | ||
$accountingaccount->fetch(null, $accountingaccount_number, true); | ||
$accountingaccount->fetch(0, $accountingaccount_number, true); | ||
$accountingaccount_label = $accountingaccount->label; | ||
|
||
$journal_code = GETPOST('code_journal', 'alpha'); | ||
$accountingjournal->fetch(null, $journal_code); | ||
$accountingjournal->fetch(0, $journal_code); | ||
$journal_label = $accountingjournal->label; | ||
|
||
$subledger_account = GETPOST('subledger_account', 'alphanohtml'); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters