projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merged changes from stable branch up to 2.3.12
[fa-stable.git]
/
gl
/
gl_bank.php
diff --git
a/gl/gl_bank.php
b/gl/gl_bank.php
index c4dd404df7c8c709d845bfc323d50630470a8c6c..8c8860d0c47dbf405d7521eb43b8b2033d029571 100644
(file)
--- a/
gl/gl_bank.php
+++ b/
gl/gl_bank.php
@@
-281,6
+281,8
@@
if (isset($_POST['Process']))
set_focus('person_id');
$input_error = 1;
}
+ if (!db_has_currency_rates(get_bank_account_currency($_POST['bank_account']), $_POST['date_'], true))
+ $input_error = 1;
if ($input_error == 1)
unset($_POST['Process']);