BUG Class periode use this->id
This commit is contained in:
parent
2324efb0c8
commit
5b3c1adeff
1 changed files with 1 additions and 1 deletions
|
|
@ -331,7 +331,7 @@ class Periode {
|
|||
return $p_start;
|
||||
}
|
||||
function get_exercice() {
|
||||
$sql="select p_exercice from parm_periode where p_id=".$this->p_id;
|
||||
$sql="select p_exercice from parm_periode where p_id=".$this->id;
|
||||
$Res=ExecSql($this->cn,$sql);
|
||||
if ( pg_NumRows($Res) == 0) return null;
|
||||
return pg_fetch_result($Res,0,0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue