Skip to content

Commit

Permalink
- Fixin method call
Browse files Browse the repository at this point in the history
  • Loading branch information
akadlec committed May 26, 2019
1 parent e075ef6 commit 49a9c7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/IPub/WebSockets/Server/FlashWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ public function renderPolicy() : \SimpleXMLElement

foreach ($this->access as $access) {
$tmp = $policy->addChild('allow-access-from');
$tmp->addAttribute('domain', $access[0]);
$tmp->addAttribute('to-ports', $access[1]);
$tmp->addAttribute('domain', (string) $access[0]);
$tmp->addAttribute('to-ports', (string) $access[1]);
$tmp->addAttribute('secure', ($access[2] === TRUE) ? 'true' : 'false');
}

Expand Down

0 comments on commit 49a9c7f

Please sign in to comment.