mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-26 16:28:31 -04:00
Merge branch 'master' of github.com:ZoneMinder/zoneminder
This commit is contained in:
commit
fb9debbd9a
1 file changed
+4
-1
@@ -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