Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions doitphp/core/Model.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ public function lastInsertId() {
*/
public function startTrans() {

return $this->_master->startTrans();
return $this->_master()->startTrans();
}

/**
Expand All @@ -503,7 +503,7 @@ public function startTrans() {
*/
public function commit() {

return $this->_master->commit();
return $this->_master()->commit();
}

/**
Expand All @@ -514,7 +514,7 @@ public function commit() {
*/
public function rollback() {

return $this->_master->rollback();
return $this->_master()->rollback();
}

/**
Expand Down Expand Up @@ -1674,4 +1674,4 @@ public static function getInstance() {

return self::$_instance;
}
}
}