mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-10 22:18:40 +00:00
fix phpcs
This commit is contained in:
parent
266ae61e53
commit
792fcf900a
|
|
@ -487,13 +487,14 @@ class DataMapperAbstract implements DataMapperInterface
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
self::$db->con->prepare($query->toSql())->execute();
|
self::$db->con->prepare($query->toSql())->execute();
|
||||||
} catch (Throwable $t) {
|
} catch (Throwable $t) {
|
||||||
// @todo: remove after debugging
|
// @todo: remove after debugging
|
||||||
// @fix: really remove it
|
// @fix: really remove it
|
||||||
// @critical: after we found the bug we MUST remove it!
|
// @critical: after we found the bug we MUST remove it!
|
||||||
//var_dump($t->getMessage());
|
//var_dump($t->getMessage());
|
||||||
//var_dump($query->toSql());
|
//var_dump($query->toSql());
|
||||||
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
$objId = self::$db->con->lastInsertId();
|
$objId = self::$db->con->lastInsertId();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user