Merge pull request #3588 from VikingGer/patch-1

Update control_functions.php
pull/3590/head
Isaac Connor 2022-09-16 09:26:12 -04:00 committed by GitHub
commit e51ffb1721
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ function ptzControls($monitor) {
</div>
<?php
}
if ( $control->CanWake() || $control->CanSleep() || $control->CanReset() )
if ( $control->CanWake() || $control->CanSleep() || $control->CanReset() || $control->CanReboot() )
echo controlPower($monitor, $cmds);
if ( $control->HasPresets() )
echo controlPresets($monitor, $cmds);