mirror of
https://github.com/Karaka-Management/oms-Editor.git
synced 2026-01-26 00:08:42 +00:00
PhpUnit fixes
This commit is contained in:
parent
0201dfa698
commit
b8498f4ab7
|
|
@ -87,6 +87,11 @@ class EditorDocMapper extends DataMapperAbstract
|
|||
{
|
||||
try {
|
||||
$objId = parent::create($obj, $relations);
|
||||
|
||||
if($objId === null || !is_scalar($objId)) {
|
||||
return $objId;
|
||||
}
|
||||
|
||||
$query = new Builder(self::$db);
|
||||
$query->prefix(self::$db->getPrefix())
|
||||
->insert(
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user