From 5356e0fdbb1baeeaddbae872247b36c154b3bc27 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Sat, 29 Oct 2011 08:58:13 +0200 Subject: [PATCH] 0001149: Undefined variable trying to delete a currency --- gl/manage/currencies.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')); -- 2.30.2