return a array with 0 for get_solde_detail
This commit is contained in:
parent
896706c74d
commit
e42c04e955
2 changed files with 2 additions and 2 deletions
|
|
@ -1423,7 +1423,7 @@ class Fiche
|
|||
*/
|
||||
function get_solde_detail($p_cond="")
|
||||
{
|
||||
if ( $this->id == 0 ) exit('fiche->id est nul');
|
||||
if ( $this->id == 0 ) return array('credit'=>0,'debit'=>0,'solde'=>0);
|
||||
$qcode=$this->strAttribut(ATTR_DEF_QUICKCODE);
|
||||
|
||||
if ( $p_cond != "") $p_cond=" and ".$p_cond;
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ $g_captcha=false;
|
|||
*
|
||||
*/
|
||||
$version_phpcompta=4444;
|
||||
define ("DEBUG",false);
|
||||
define ("DEBUG",true);
|
||||
|
||||
define ("DBVERSION",98);
|
||||
define ("DBVERSIONREPO",14);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue