For STRICT, we create an empty object before using it

This commit is contained in:
Dany De Bontridder 2010-07-19 13:11:52 +00:00
parent 9c8cc32658
commit 49deaa4fc2

View file

@ -520,6 +520,7 @@ class Acc_Misc extends Acc_Detail
function __construct($p_cn,$p_jrid=0) {
parent::__construct($p_cn,$p_jrid);
$this->signature='ODS';
$this->det=new stdClass();
}
function get() {
parent::get();
@ -541,6 +542,7 @@ class Acc_Sold extends Acc_Detail
function __construct($p_cn,$p_jrid=0) {
parent::__construct($p_cn,$p_jrid);
$this->signature='VEN';
$this->det=new stdClass();
}
function get() {
parent::get();