Fix: Project id was not read correctly
This commit is contained in:
parent
8f5b925603
commit
b02fcaf835
2 changed files with 2 additions and 1 deletions
|
|
@ -524,6 +524,7 @@ class CommonObject
|
|||
dol_syslog("CommonObject::setProject sql=".$sql);
|
||||
if ($this->db->query($sql))
|
||||
{
|
||||
$this->project_id=$projid;
|
||||
$this->projet_id=$projid;
|
||||
$this->projetidp=$projid;
|
||||
return 1;
|
||||
|
|
|
|||
|
|
@ -615,7 +615,7 @@ elseif ($fichinterid)
|
|||
print '</td><td colspan="3">';
|
||||
if ($_GET['action'] == 'classin')
|
||||
{
|
||||
$html->form_project($_SERVER['PHP_SELF'].'?id='.$fichinter->id, $fichinter->socid, $fichinter->project_id,'projetid');
|
||||
$html->form_project($_SERVER['PHP_SELF'].'?id='.$fichinter->id, $fichinter->socid, $fichinter->project_id,'projectid');
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue