projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b122c90
)
Fixed error handling for duplicate records.
author
Janusz Dobrowolski
<janusz@frontaccounting.eu>
Sat, 10 Oct 2009 12:23:40 +0000
(12:23 +0000)
committer
Janusz Dobrowolski
<janusz@frontaccounting.eu>
Sat, 10 Oct 2009 12:23:40 +0000
(12:23 +0000)
includes/errors.inc
patch
|
blob
|
history
diff --git
a/includes/errors.inc
b/includes/errors.inc
index 68c26488579285aa949d3b777406e85a96612523..bfa213d5514d96ab1ac59e87e22fa8ffcc2619ba 100644
(file)
--- a/
includes/errors.inc
+++ b/
includes/errors.inc
@@
-162,8
+162,7
@@
function check_db_error($msg, $sql_statement, $exit_if_error=true, $rollback_if_
if ($exit_if_error)
{
- echo "<br><br>";
- exit;
+ end_page(); exit;
}
}
return $db_error;