projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cannot insert a supplier transaction record in Direct Supplier Invoice (certain MySql...
[fa-stable.git]
/
includes
/
references.inc
diff --git
a/includes/references.inc
b/includes/references.inc
index 0c11ebee3defacaa1d96bcdfb61a25a862f08160..16781175b5922cc221d6894594becbb38b77a740 100644
(file)
--- a/
includes/references.inc
+++ b/
includes/references.inc
@@
-114,10
+114,10
@@
function is_new_reference($ref, $type)
$type = db_escape($type);
if ($db_ref == null) { // journal or bank trans store references in refs table
$type = db_escape($type);
if ($db_ref == null) { // journal or bank trans store references in refs table
- $db_
ref
= TB_PREF."refs";
+ $db_
name
= TB_PREF."refs";
$db_type = 'type';
$db_trans = 'id';
$db_type = 'type';
$db_trans = 'id';
- $
r
b_ref = 'reference';
+ $
d
b_ref = 'reference';
}
if ($db_type != null) {
}
if ($db_type != null) {