mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-18 14:58:43 +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);
|
||||
|
||||
// Get Contact from user
|
||||
$oUser = MetaModel::GetObject('User', $iUserId);
|
||||
$oUser = MetaModel::GetObject('User', $iUserId, true, true);
|
||||
$this->SetIfNull('contact_id', $oUser->Get('contactid'));
|
||||
}
|
||||
return parent::DBInsertNoReload();
|
||||
|
||||
Reference in New Issue
Block a user