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