projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version changed to 2.0. Final release
[fa-stable.git]
/
includes
/
data_checks.inc
diff --git
a/includes/data_checks.inc
b/includes/data_checks.inc
index 89d57d6345db521c90d791c8d30f9fdb3c9511cc..b79bf3d2357d7c5cc3981331cf06cf82728ccccd 100644
(file)
--- a/
includes/data_checks.inc
+++ b/
includes/data_checks.inc
@@
-129,7
+129,7
@@
function check_db_has_bank_trans_types($msg)
function db_customer_has_branches($customer_id)
{
function db_customer_has_branches($customer_id)
{
- return check_empty_result("SELECT COUNT(*) FROM ".TB_PREF."cust_branch WHERE debtor_no=
$customer_id
");
+ return check_empty_result("SELECT COUNT(*) FROM ".TB_PREF."cust_branch WHERE debtor_no=
'$customer_id'
");
}
function db_has_customer_branches()
}
function db_has_customer_branches()