Pman.php
authorAlan Knowles <alan@roojs.com>
Wed, 15 Aug 2018 03:13:14 +0000 (11:13 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 15 Aug 2018 03:13:14 +0000 (11:13 +0800)
Pman.php

index 93e4c27..2f2ffa2 100644 (file)
--- a/Pman.php
+++ b/Pman.php
@@ -453,6 +453,10 @@ class Pman extends HTML_FlexyFramework_Page
     
     function jerror($type, $str, $errors=array(), $content_type = false) // standard error reporting..
     {
+        if ($this->transObj) {
+            $this->transObj->query('ROLLBACK');
+        }
+        
         if ($type !== false) {
             
             if(!empty($errors)){