[-] Installer : Undefined variable due to hook call in objectModel::add()

This commit is contained in:
fBrignoli committed 2012-05-03 14:19:24 +00:00
1 parent fcb6462a23
commit 490fc6b933
1 file changed
+2
+2
View File
@@ -269,6 +269,8 @@ class HookCore extends ObjectModel
// Get all available payment module
$payment_modules = array();
if (isset($context->shop->id))
foreach (Module::getPaymentModules() as $module)
$payment_modules[] = $module['name'];