0001149: Undefined variable trying to delete a currency
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Sat, 29 Oct 2011 06:58:13 +0000 (08:58 +0200)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Sat, 29 Oct 2011 06:58:13 +0000 (08:58 +0200)
gl/manage/currencies.php

index 363b734bd8dfdfdee52327d1b8395b3133cb5ba7..a6cf55afddb27d58ae3da4b90304b22d348f55ad 100644 (file)
@@ -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($selected_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'));