Skip to content

Commit

Permalink
OSX-515 Fixes player profile settings on display add xibosignage/xibo…
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterMis committed Apr 15, 2019
1 parent ffb7ae6 commit 73f3a0d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions lib/Entity/Display.php
Original file line number Diff line number Diff line change
Expand Up @@ -683,8 +683,8 @@ public function delete()
private function add()
{
$this->displayId = $this->getStore()->insert('
INSERT INTO display (display, auditingUntil, defaultlayoutid, license, licensed, inc_schedule, email_alert, alert_timeout, xmrChannel, xmrPubKey, lastCommandSuccess, macAddress)
VALUES (:display, :auditingUntil, :defaultlayoutid, :license, :licensed, :inc_schedule, :email_alert, :alert_timeout, :xmrChannel, :xmrPubKey, :lastCommandSuccess, :macAddress)
INSERT INTO display (display, auditingUntil, defaultlayoutid, license, licensed, inc_schedule, email_alert, alert_timeout, xmrChannel, xmrPubKey, lastCommandSuccess, macAddress, client_type, client_version, client_code)
VALUES (:display, :auditingUntil, :defaultlayoutid, :license, :licensed, :inc_schedule, :email_alert, :alert_timeout, :xmrChannel, :xmrPubKey, :lastCommandSuccess, :macAddress, :clientType, :clientVersion, :clientCode)
', [
'display' => $this->display,
'auditingUntil' => 0,
Expand All @@ -697,7 +697,10 @@ private function add()
'xmrChannel' => $this->xmrChannel,
'xmrPubKey' => ($this->xmrPubKey === null) ? '' : $this->xmrPubKey,
'lastCommandSuccess' => $this->lastCommandSuccess,
'macAddress' => $this->macAddress
'macAddress' => $this->macAddress,
'clientType' => $this->clientType,
'clientVersion' => $this->clientVersion,
'clientCode' => $this->clientCode,
]);


Expand Down

0 comments on commit 73f3a0d

Please sign in to comment.