Can export events if canView Snapshots. Event->canView will filter events that are not in a snapshot
This commit is contained in:
parent
c12d88d874
commit
e7e8996060
|
@ -5,7 +5,7 @@ if ( empty($_REQUEST['id']) && empty($_REQUEST['eids']) ) {
|
|||
ajaxError('No event id(s) supplied');
|
||||
}
|
||||
|
||||
if ( canView('Events') ) {
|
||||
if ( canView('Events') or canView('Snapshots') ) {
|
||||
switch ( $_REQUEST['action'] ) {
|
||||
case 'video' :
|
||||
if ( empty($_REQUEST['videoFormat']) ) {
|
||||
|
@ -112,7 +112,7 @@ if ( canView('Events') ) {
|
|||
false,#detail
|
||||
false,#frames
|
||||
false,#images
|
||||
$exportVideo,
|
||||
true, #$exportVideo,
|
||||
false,#Misc
|
||||
$exportFormat,
|
||||
false#,#Compress
|
||||
|
|
Loading…
Reference in New Issue