rtsp should be lower case

This commit is contained in:
Isaac Connor 2016-04-04 16:56:54 -04:00
parent de5b9c6dae
commit 6c8e8368e1
1 changed files with 2 additions and 2 deletions

View File

@ -533,7 +533,7 @@ if ( ZM_HAS_V4L && ($tab != 'source' || $monitor->Type != 'Local') ) {
if ( $tab != 'source' || $monitor->Type != 'Remote' ) if ( $tab != 'source' || $monitor->Type != 'Remote' )
{ {
?> ?>
<input type="hidden" name="newMonitor[Protocol]" value="<?php echo validHtmlStr($monitor->Protocol) ?>"/> <input type="hidden" name="newMonitor[Protocol]" value="<?php echo validHtmlStr($monitor->Protocol()) ?>"/>
<input type="hidden" name="newMonitor[Host]" value="<?php echo validHtmlStr($monitor->Host) ?>"/> <input type="hidden" name="newMonitor[Host]" value="<?php echo validHtmlStr($monitor->Host) ?>"/>
<input type="hidden" name="newMonitor[Port]" value="<?php echo validHtmlStr($monitor->Port) ?>"/> <input type="hidden" name="newMonitor[Port]" value="<?php echo validHtmlStr($monitor->Port) ?>"/>
<?php <?php
@ -576,7 +576,7 @@ if ( $tab != 'storage' ) {
<input type="hidden" name="newMonitor[RecordAudio]" value="<?php echo validHtmlStr($monitor->RecordAudio) ?>"/> <input type="hidden" name="newMonitor[RecordAudio]" value="<?php echo validHtmlStr($monitor->RecordAudio) ?>"/>
<?php <?php
} }
if ( $tab != 'source' || ($monitor->Type != 'Remote' && $monitor->Protocol != 'RTSP')) if ( $tab != 'source' || ($monitor->Type != 'Remote' && $monitor->Protocol != 'rtsp'))
{ {
?> ?>
<input type="hidden" name="newMonitor[RTSPDescribe]" value="<?php echo validHtmlStr($monitor->RTSPDescribe) ?>"/> <input type="hidden" name="newMonitor[RTSPDescribe]" value="<?php echo validHtmlStr($monitor->RTSPDescribe) ?>"/>