PGSql: make abort more logical
authorkonrad <konrad@6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33>
Fri, 18 Jun 2010 16:11:44 +0000 (16:11 +0000)
committerkonrad <konrad@6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33>
Fri, 18 Jun 2010 16:11:44 +0000 (16:11 +0000)
git-svn-id: https://silmor.de/svn/softmagic/pack/trunk@504 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33

phpbase/db_pgsql.php

index 7c0e636..8786654 100644 (file)
@@ -361,9 +361,9 @@ class PGsqlEngine extends DbEngine
                        print("<!-- Error while doing '".$what."' on DB: ".xq($this->lastError())." -->\n");
                        if($detail!==false)
                                print("<!-- details: ".xq($detail)." -->\n");
-                       if($this->do_abort)
-                               die("giving up");
                }
+               if($this->do_abort)
+                       die("giving up");
        }
 };