projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Code cleanup.
[fa-stable.git]
/
gl
/
includes
/
db
/
gl_db_trans.inc
diff --git
a/gl/includes/db/gl_db_trans.inc
b/gl/includes/db/gl_db_trans.inc
index ecd12faea5ca85fb1c21ea84f4fa16a5332b15d8..79b03d80651e57b3a56385564c8f660d48a54735 100644
(file)
--- a/
gl/includes/db/gl_db_trans.inc
+++ b/
gl/includes/db/gl_db_trans.inc
@@
-40,7
+40,7
@@
function add_gl_trans($type, $trans_id, $date_, $account, $dimension, $dimension
'$account', $dimension, $dimension2, ".db_escape($memo_).", $amount_in_home_currency";
if ($person_type_id != null)
- $sql .= ", $person_type_id,
'$person_id'"
;
+ $sql .= ", $person_type_id,
". db_escape($person_id)
;
$sql .= ") ";