mirror of
https://github.com/Karaka-Management/oms-Tasks.git
synced 2026-01-11 15:38:40 +00:00
PhpUnit fixes
This commit is contained in:
parent
a5229d1833
commit
aa32e0a33b
|
|
@ -130,6 +130,11 @@ class TaskMapper 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())
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user