diff --git a/library/Zend/Db/Adapter/Driver/Mysqli/Connection.php b/library/Zend/Db/Adapter/Driver/Mysqli/Connection.php index 190000dea46..662dabc498d 100644 --- a/library/Zend/Db/Adapter/Driver/Mysqli/Connection.php +++ b/library/Zend/Db/Adapter/Driver/Mysqli/Connection.php @@ -284,7 +284,7 @@ public function rollback() } if (!$this->inTransaction) { - throw new Exception\RuntimeException('Must call commit() before you can rollback.'); + throw new Exception\RuntimeException('Must call beginTransaction() before you can rollback.'); } $this->resource->rollback();