mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
#137 #203 #204 #119 - Finalized the new (simplified) module for user rights management ; needed to review deeply the data integrity management to have the setup working again!
SVN:trunk[697]
This commit is contained in:
@@ -395,10 +395,10 @@ abstract class TestBizModel extends TestHandler
|
||||
protected $m_oChange;
|
||||
protected function ObjectToDB($oNew, $bReload = false)
|
||||
{
|
||||
list($bRes, $aIssues) = $oNew->CheckToInsert();
|
||||
list($bRes, $aIssues) = $oNew->CheckToWrite();
|
||||
if (!$bRes)
|
||||
{
|
||||
throw new CoreException('Could not create object, unexpected values', array('attributes' => $aIssues));
|
||||
throw new CoreException('Could not create object, unexpected values', array('issues' => $aIssues));
|
||||
}
|
||||
if ($oNew instanceof CMDBObject)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user