diff --git a/startmvc/Lib/Db/Sql.php b/startmvc/Lib/Db/Sql.php index 1b287fd6c64b353c8bfe0ed1b3c129bf1facba31..7bf5249d18c3547a1a9855f47764ebcb62ccb057 100644 --- a/startmvc/Lib/Db/Sql.php +++ b/startmvc/Lib/Db/Sql.php @@ -1046,7 +1046,7 @@ class Sql public function rollBack() { if (--$this->transactionCount) { - $this->pdo->exec('ROLLBACK TO trans' . $this->transactionCount + 1); + $this->pdo->exec('ROLLBACK TO trans' . ($this->transactionCount + 1)); return true; }