From: Joe Hunt Date: Sat, 29 Oct 2011 06:58:13 +0000 (+0200) Subject: 0001149: Undefined variable trying to delete a currency X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=d67e53487e2ed3f8670ecd2c66415c5068306dc6;p=textcart.git 0001149: Undefined variable trying to delete a currency --- diff --git a/gl/manage/currencies.php b/gl/manage/currencies.php index 363b734..a6cf55a 100644 --- 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($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'));