Skip to content

Commit

Permalink
Merge pull request ZoneMinder#1494 from pliablepixels/1493-api-fix-ad…
Browse files Browse the repository at this point in the history
…d-monitor-daemonc

don't pass partial data to daemoncontrol
  • Loading branch information
connortechnology committed May 22, 2016
2 parents d18bbc0 + 4018cab commit 47db581
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/api/app/Controller/MonitorsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public function add() {

$this->Monitor->create();
if ($this->Monitor->save($this->request->data)) {
$this->daemonControl($this->Monitor->id, 'start', $this->request->data);
$this->daemonControl($this->Monitor->id, 'start');
return $this->flash(__('The monitor has been saved.'), array('action' => 'index'));
}
}
Expand Down

0 comments on commit 47db581

Please sign in to comment.