Fixed an issue in the internal error reporting (user rights not sufficient to update an object)

SVN:trunk[1303]
This commit is contained in:
Romain Quetiez
2011-06-28 10:23:41 +00:00
parent 077b7be2a4
commit 1964658584

View File

@@ -2367,12 +2367,12 @@ EOF
$oAttCode = MetaModel::GetAttributeDef(get_class($this), $sAttCode);
$aForbiddenFields[] = $oAttCode->GetLabel();
}
if (count($aForbiddenFields) > 0)
{
// Security issue
$this->m_bSecurityIssue = true;
$this->m_aCheckIssues[] = Dict::Format('UI:Delete:NotAllowedToUpdate_Fields',implode(', ', $aForbiddenFields));
}
}
if (count($aForbiddenFields) > 0)
{
// Security issue
$this->m_bSecurityIssue = true;
$this->m_aCheckIssues[] = Dict::Format('UI:Delete:NotAllowedToUpdate_Fields',implode(', ', $aForbiddenFields));
}
}
}