Portal : Allowed Organizations Part II. Made sur that the AllowAllData flag was passed everywhere it was necessary, only when it was necessary. This has been tested but needs MORE testing !

SVN:trunk[4409]
This commit is contained in:
Guillaume Lajarige
2016-09-22 09:30:12 +00:00
parent dd41ebf861
commit 8e96094977
7 changed files with 66 additions and 16 deletions

View File

@@ -479,7 +479,8 @@ EOF
// In case of indirect linked set, we must retrieve the remote object
if ($this->oField->IsIndirect())
{
$oRemoteItem = MetaModel::GetObject($this->oField->GetTargetClass(), $oItem->Get($this->oField->GetExtKeyToRemote()));
// Note : AllowAllData set to true here instead of checking scope's flag because we are displaying a value that has been set and validated
$oRemoteItem = MetaModel::GetObject($this->oField->GetTargetClass(), $oItem->Get($this->oField->GetExtKeyToRemote()), true, true);
}
else
{