fix phpcs

This commit is contained in:
Dennis Eichhorn 2019-12-21 22:05:53 +01:00
parent 266ae61e53
commit 792fcf900a

View File

@ -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();