Portal : Added Location scope to standard portal configuration because of the implementation of r4380

SVN:trunk[4382]
This commit is contained in:
Guillaume Lajarige
2016-09-06 09:30:10 +00:00
parent a025c95054
commit d48f76e965
2 changed files with 9 additions and 2 deletions

View File

@@ -540,7 +540,7 @@ class ObjectFormManager extends FormManager
$oScopeSearch = $this->oApp['scope_validator']->GetScopeFilterForProfiles(UserRights::ListProfiles(), $oScopeOriginal->GetClass(), UR_ACTION_READ);
if ($oScopeSearch === null)
{
IssueLog::Info(__METHOD__ . ' at line ' . __LINE__ . ' : User #' . UserRights::GetUserId() . ' has no scope query for ' . $sTargetObjectClass . ' class.');
IssueLog::Info(__METHOD__ . ' at line ' . __LINE__ . ' : User #' . UserRights::GetUserId() . ' has no scope query for ' . $oScopeOriginal->GetClass() . ' class.');
$this->oApp->abort(404, Dict::S('UI:ObjectDoesNotExist'));
}