From f8235d23099ffbcd5b8d1f18a88cb111ab0b3ce7 Mon Sep 17 00:00:00 2001 From: fSerny Date: Tue, 22 May 2012 10:19:01 +0000 Subject: [PATCH] // Fixing warning on PaymentModule Tab --- controllers/admin/AdminPaymentController.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/controllers/admin/AdminPaymentController.php b/controllers/admin/AdminPaymentController.php index 7c03f08da..7ca81c3a4 100644 --- a/controllers/admin/AdminPaymentController.php +++ b/controllers/admin/AdminPaymentController.php @@ -205,6 +205,10 @@ class AdminPaymentControllerCore extends AdminController if (!isset($module->$name_id)) $module->$name_id = array(); + if (!isset($module->currencies_mode)) + $module->currencies_mode = ''; + if (!isset($module->currencies)) + $module->currencies = ''; // If is a country list and the country is limited, remove it from list if ($name_id == 'country'