- Renamed the method 'UpdateObject' into 'UpdateObjectFromPostedForm' to avoid misunderstandings.

- Fixed (again !) Trac #427: unable to empty a linkset when editing an object.

SVN:trunk[1370]
This commit is contained in:
Denis Flaven
2011-07-26 16:18:19 +00:00
parent 751ab5a4b4
commit a2b8813628
7 changed files with 22 additions and 16 deletions

View File

@@ -377,7 +377,7 @@ EOF
public function DoCreateObject($oPage)
{
$oObj = MetaModel::NewObject($this->sTargetClass);
$aErrors = $oObj->UpdateObject($this->iId);
$aErrors = $oObj->UpdateObjectFromPostedForm($this->iId);
if (count($aErrors) == 0)
{
$oMyChange = MetaModel::NewObject("CMDBChange");