mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 15:22:17 +02:00
N°7303 - Fix failure to add attachment in portal due to regression from e830c903
This commit is contained in:
@@ -115,7 +115,7 @@
|
|||||||
$this->SetIfNull('user_id', $iUserId);
|
$this->SetIfNull('user_id', $iUserId);
|
||||||
|
|
||||||
// Get Contact from user
|
// Get Contact from user
|
||||||
$oUser = MetaModel::GetObject('User', $iUserId);
|
$oUser = MetaModel::GetObject('User', $iUserId, true, true);
|
||||||
$this->SetIfNull('contact_id', $oUser->Get('contactid'));
|
$this->SetIfNull('contact_id', $oUser->Get('contactid'));
|
||||||
}
|
}
|
||||||
return parent::DBInsertNoReload();
|
return parent::DBInsertNoReload();
|
||||||
|
|||||||
Reference in New Issue
Block a user