fix: fixed an issue with a notice error when adding a new attribute

pull/1946/merge
iglocska 2017-03-21 11:34:44 +01:00
parent f31d76591e
commit 15256b469f
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@
</div>
<?php
if (!$ajax) {
$event['Event']['id'] = $this->request->data['Attribute']['event_id'];
$event['Event']['id'] = $event_id;
$event['Event']['published'] = $published;
echo $this->element('side_menu', array('menuList' => 'event', 'menuItem' => 'addAttribute', 'event' => $event));
}