diff options
author | MaZderMind | 2015-04-06 00:28:17 +0200 |
---|---|---|
committer | MaZderMind | 2015-04-06 00:28:17 +0200 |
commit | d8eca933a6713d0deaabe6883e5cf4939120eec0 (patch) | |
tree | 93dc04c765a3bd6f36c4f3673665402910d57946 /template/assemblies/switcher/music.phtml | |
parent | 8f14dd9084b10c223508bc9948c5724fc2c9eb63 (diff) |
Repair Switchers to not shadow $stream in the following Templates
Diffstat (limited to '')
-rw-r--r-- | template/assemblies/switcher/music.phtml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/template/assemblies/switcher/music.phtml b/template/assemblies/switcher/music.phtml index 6f5f218..c349aec 100644 --- a/template/assemblies/switcher/music.phtml +++ b/template/assemblies/switcher/music.phtml @@ -3,12 +3,12 @@ <div class="directlinks"> <div class="row"> <? foreach(Stream::getMusicProtos() as $proto => $display): ?> - <? $stream = $room->createStreamObject('music') ?> + <? $switcherstream = $room->createStreamObject('music') ?> <div class="col-lg-3 col-md-4 col-lg-5 col-xs-12"> - <div class="btn-group" role="group" title="<?=h($stream->getMusicTech($proto))?>"> + <div class="btn-group" role="group" title="<?=h($switcherstream->getMusicTech($proto))?>"> <div class="btn btn-primary" disabled><?=h($display)?></div> - <a href="<?=h($stream->getMusicUrl($proto))?>" class="btn btn-default"> + <a href="<?=h($switcherstream->getMusicUrl($proto))?>" class="btn btn-default"> <span class="fa fa-music"></span> live music </a> |