chg: pass event_id to import modules, fixes #2612

As described by @Vince147
pull/2629/head
Andras Iklody 2017-11-03 08:43:16 +01:00 committed by GitHub
parent 8d901aa62d
commit 97b0edcbfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -4204,7 +4204,8 @@ class EventsController extends AppController {
if ($this->request->is('post')) {
$fail = false;
$modulePayload = array(
'module' => $module['name']
'module' => $module['name'],
'event_id' => $eventId
);
if (isset($module['meta']['config'])) {
foreach ($module['meta']['config'] as $conf) {