[-] Installer : Undefined variable due to hook call in objectModel::add()
This commit is contained in:
1 parent
fcb6462a23
commit
490fc6b933
1 file changed
+2
@@ -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'];
|
||||
|
||||
|
||||
Reference in new issue
Block a user