mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-03-30 03:32:14 -04:00
Merge branch 'master' of github.com:ZoneMinder/zoneminder
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
<?php
|
||||
if (!canEdit('Monitors')) return ' ';
|
||||
if (!canEdit('Monitors')) {
|
||||
ZM\Warning('Tried to load PTZ preset modal without monitor edit permission.');
|
||||
return ' ';
|
||||
}
|
||||
|
||||
$monitor = dbFetchOne('SELECT C.*,M.* FROM Monitors AS M INNER JOIN Controls AS C ON (M.ControlId = C.Id ) WHERE M.Id = ?', NULL, array($_REQUEST['mid']));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user