[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 24/44: Analytic accountancy : fix bug
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 24/44: Analytic accountancy : fix bug |
Date: |
Wed, 26 Dec 2018 04:29:54 -0500 (EST) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit d166d35e85e3b50620966c4b711895ae4045da4d
Author: Dany De Bontridder <address@hidden>
Date: Tue Nov 27 17:38:58 2018 +0100
Analytic accountancy : fix bug
---
include/lib/iselect.class.php | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/include/lib/iselect.class.php b/include/lib/iselect.class.php
index 72996cc..1d4837b 100644
--- a/include/lib/iselect.class.php
+++ b/include/lib/iselect.class.php
@@ -29,10 +29,21 @@
require_once NOALYSS_INCLUDE.'/lib/html_input.class.php';
class ISelect extends HtmlInput
{
+ /**
+ * Constructor , $p_value is supposed to be an array
+ * @param string $p_name name of the element
+ * @param array $p_value
+ * @param DOMID $p_id
+ */
function __construct($p_name="", $p_value="", $p_id="")
{
parent::__construct($p_name, $p_value, $p_id);
- $this->value=[];
+ if ( $p_value =="" )
+ {
+ $this->value=[];
+ } else {
+ $this->value=$p_value;
+ }
}
/*!\brief show the html input of the widget*/
public function input($p_name=null,$p_value=null)
- [Noalyss-commit] [noalyss] 04/44: Improve waiting box, (continued)
- [Noalyss-commit] [noalyss] 04/44: Improve waiting box, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 09/44: CSS : cosmetic a.mtitle:hover, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 19/44: CSS : print number align to right, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 18/44: css : force a.inline to be inline !, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 07/44: Bug : ajax fails if wait_box does not exist, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 13/44: adapt to 7.2 : array, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 06/44: adapt to 7.2 ,init, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 10/44: javascript : small bug in alert_box , callback function is not defined, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 14/44: css cosmetic background for selected style-classic7, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 26/44: Version DB 131, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 24/44: Analytic accountancy : fix bug,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 20/44: Document::replace_value handle space before numeric, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 16/44: http_input : fix bug with array, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 35/44: predefined operation , find a label for an accounting thx its value, the pk is now an numeric id, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 17/44: Document : replace properly value in the OOo file, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 40/44: PHP 7.2 : sizeof attribut, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 22/44: Exception rethrow, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 37/44: cfgcurrency : file for the new version : if the file to include does not exist then display a warning and exit, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 05/44: Bug : cannot set group, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 21/44: cosmetic, Dany De Bontridder, 2018/12/26
- [Noalyss-commit] [noalyss] 30/44: acc_ledger_fin . translation, Dany De Bontridder, 2018/12/26