[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 09/34: Bug : default accounting override exis
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 09/34: Bug : default accounting override existing one |
Date: |
Sun, 5 Feb 2023 04:41:40 -0500 (EST) |
sparkyx pushed a commit to branch devel
in repository noalyss.
commit 51096cbe434198b656a21d2b42348458dca77fe6
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Wed Jan 11 16:35:14 2023 +0100
Bug : default accounting override existing one
---
include/class/card_property.class.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/class/card_property.class.php
b/include/class/card_property.class.php
index b01dc73f6..45b362f74 100644
--- a/include/class/card_property.class.php
+++ b/include/class/card_property.class.php
@@ -188,7 +188,7 @@ class Card_Property
$result['msg'] .= " <span style=\"color:red\">" .
_("Rappel: Poste par défaut sera ") .
$p_fiche_def->class_base .
" !</span> ";
- $result['input']->value = $p_fiche_def->class_base;
+ $result['input']->value = (empty
($result['input']->value)) ?$p_fiche_def->class_base:$result['input']->value;
}
}
$result['label']=_("Poste comptable");
- [Noalyss-commit] [noalyss] 01/34: Fix bug : new document w/o description Change print_r by var_export Improve PHPUNIT, (continued)
- [Noalyss-commit] [noalyss] 01/34: Fix bug : new document w/o description Change print_r by var_export Improve PHPUNIT, Dany De Bontridder, 2023/02/05
- [Noalyss-commit] [noalyss] 03/34: Bug : default accounting override existing one, Dany De Bontridder, 2023/02/05
- [Noalyss-commit] [noalyss] 10/34: Bug : default accounting override existing one, Dany De Bontridder, 2023/02/05
- [Noalyss-commit] [noalyss] 13/34: Improve security : function isAdmin recheck the password, Dany De Bontridder, 2023/02/05
- [Noalyss-commit] [noalyss] 17/34: Fix : if there is no stock there is an exception instead of a warning, Dany De Bontridder, 2023/02/05
- [Noalyss-commit] [noalyss] 15/34: Fix : the select range select also the hidden element, Dany De Bontridder, 2023/02/05
- [Noalyss-commit] [noalyss] 05/34: Fix : generate_random_string returns always same value , due to a change in srand(), Dany De Bontridder, 2023/02/05
- [Noalyss-commit] [noalyss] 21/34: Cosmetic : improve CSS for enrich text, Dany De Bontridder, 2023/02/05
- [Noalyss-commit] [noalyss] 26/34: Task #0002219: Compatibilit PHP 8.2, Dany De Bontridder, 2023/02/05
- [Noalyss-commit] [noalyss] 28/34: Task #0002209: CG – Dans le menu d'actions sur une opération, remplacer «Effacer» par «Supprimer», Dany De Bontridder, 2023/02/05
- [Noalyss-commit] [noalyss] 09/34: Bug : default accounting override existing one,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 06/34: Improve security : function isAdmin recheck the password, Dany De Bontridder, 2023/02/05
- [Noalyss-commit] [noalyss] 08/34: Fix : the select range select also the hidden element, Dany De Bontridder, 2023/02/05
- [Noalyss-commit] [noalyss] 02/34: Fix bug : return void, Dany De Bontridder, 2023/02/05
- [Noalyss-commit] [noalyss] 16/34: Documentation, Dany De Bontridder, 2023/02/05
- [Noalyss-commit] [noalyss] 14/34: Improve security : replace $_POST by Http_Input, Dany De Bontridder, 2023/02/05
- [Noalyss-commit] [noalyss] 24/34: Bug #0002231: "Payée par" - date non prise en compte, Dany De Bontridder, 2023/02/05
- [Noalyss-commit] [noalyss] 29/34: Bug #0002219: Compatibilité PHP 8.2 , 8.1 , 8.0, Dany De Bontridder, 2023/02/05
- [Noalyss-commit] [noalyss] 31/34: Merge branch 'master' into devel, Dany De Bontridder, 2023/02/05
- [Noalyss-commit] [noalyss] 32/34: Cosmetic #0002204: CA : balance croisée double - affichage brouillon, Dany De Bontridder, 2023/02/05
- [Noalyss-commit] [noalyss] 18/34: Cosmetic : improve CSS for enrich text, Dany De Bontridder, 2023/02/05