Fix: Project id was not read correctly
This commit is contained in:
parent
8f5b925603
commit
b02fcaf835
@ -524,6 +524,7 @@ class CommonObject
|
|||||||
dol_syslog("CommonObject::setProject sql=".$sql);
|
dol_syslog("CommonObject::setProject sql=".$sql);
|
||||||
if ($this->db->query($sql))
|
if ($this->db->query($sql))
|
||||||
{
|
{
|
||||||
|
$this->project_id=$projid;
|
||||||
$this->projet_id=$projid;
|
$this->projet_id=$projid;
|
||||||
$this->projetidp=$projid;
|
$this->projetidp=$projid;
|
||||||
return 1;
|
return 1;
|
||||||
|
|||||||
@ -615,7 +615,7 @@ elseif ($fichinterid)
|
|||||||
print '</td><td colspan="3">';
|
print '</td><td colspan="3">';
|
||||||
if ($_GET['action'] == 'classin')
|
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
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user