fix: [Training] Minor fixes

pull/4411/head
iglocska 2019-04-02 11:48:47 +02:00
parent f05acd1def
commit 538daa389b
1 changed files with 2 additions and 2 deletions

View File

@ -486,7 +486,7 @@ class TrainingShell extends AppShell {
if (isset($org_data['Organisation'])) {
$org_data = $org_data['Organisation'];
}
unset($org_idata['id']);
unset($org_data['id']);
$options = array(
'body' => $org_data,
'url' => $this->__currentUrl . '/admin/organisations/add',
@ -497,7 +497,7 @@ class TrainingShell extends AppShell {
$this->__responseError($response, $options);
}
$options = array(
'url' => $this->__currentUrl . '/organisations/view/' . $org_data['Organisation']['uuid'],
'url' => $this->__currentUrl . '/organisations/view/' . $org_data['uuid'],
'method' => 'GET'
);
$response = $this->__queryRemoteMISP($options, true);