mirror of
https://github.com/Karaka-Management/oms-Support.git
synced 2026-02-15 07:48:41 +00:00
PhpUnit fixes
This commit is contained in:
parent
d9125da774
commit
a5a66fddbb
|
|
@ -90,6 +90,11 @@ class TicketMapper extends DataMapperAbstract
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
$objId = parent::create($obj, $relations);
|
$objId = parent::create($obj, $relations);
|
||||||
|
|
||||||
|
if($objId === null || !is_scalar($objId)) {
|
||||||
|
return $objId;
|
||||||
|
}
|
||||||
|
|
||||||
$query = new Builder(self::$db);
|
$query = new Builder(self::$db);
|
||||||
|
|
||||||
$query->prefix(self::$db->getPrefix())
|
$query->prefix(self::$db->getPrefix())
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user