Code cleanup

This commit is contained in:
Molkobain
2018-12-14 09:57:57 +01:00
parent 7faf3258f7
commit b4448c5bb9

View File

@@ -123,7 +123,7 @@ class ormSet
throw new CoreUnexpectedValue("Wrong value {$aItems} for {$this->sClass}:{$this->sAttCode}");
}
$oValues = array();
$aValues = array();
$iCount = 0;
$bError = false;
foreach($aItems as $oItem)
@@ -134,14 +134,14 @@ class ormSet
$bError = true;
continue;
}
$oValues[] = $oItem;
$aValues[] = $oItem;
}
$this->aPreserved = &$oValues;
$this->aPreserved = &$aValues;
$this->aRemoved = array();
$this->aAdded = array();
$this->aModified = array();
$this->aOriginalObjects = $oValues;
$this->aOriginalObjects = $aValues;
if ($bError)
{