projects
/
textcart.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02b1210
)
0001149: Undefined variable trying to delete a currency
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Sat, 29 Oct 2011 06:58:13 +0000
(08:58 +0200)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Sat, 29 Oct 2011 06:58:13 +0000
(08:58 +0200)
gl/manage/currencies.php
patch
|
blob
|
history
diff --git
a/gl/manage/currencies.php
b/gl/manage/currencies.php
index 363b734bd8dfdfdee52327d1b8395b3133cb5ba7..a6cf55afddb27d58ae3da4b90304b22d348f55ad 100644
(file)
--- a/
gl/manage/currencies.php
+++ b/
gl/manage/currencies.php
@@
-120,7
+120,7
@@
function check_can_delete($curr)
function handle_delete()
{
global $selected_id, $Mode;
- if (check_can_delete($selcted_id)) {
+ if (check_can_delete($sel
e
cted_id)) {
//only delete if used in neither customer or supplier, comp prefs, bank trans accounts
delete_currency($selected_id);
display_notification(_('Selected currency has been deleted'));