From: Joe Hunt Date: Sat, 29 Oct 2011 06:58:13 +0000 (+0200) Subject: 0001149: Undefined variable trying to delete a currency X-Git-Tag: 2.3-final~545 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=5356e0fdbb1baeeaddbae872247b36c154b3bc27;p=fa-stable.git 0001149: Undefined variable trying to delete a currency --- diff --git a/gl/manage/currencies.php b/gl/manage/currencies.php index 363b734b..a6cf55af 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'));