add event_id as a paramteter

pull/2077/head
Isaac Connor 2017-11-13 11:51:54 -08:00
parent d07f36a7ee
commit bc3f169a80
1 changed files with 4 additions and 0 deletions

View File

@ -41,6 +41,10 @@ if ( ! empty($_REQUEST['eid'] ) ) {
$Event = new Event( $_REQUEST['eid'] );
$path = $Event->Path().'/'.$Event->DefaultVideo();
Logger::Debug("Path: $path");
} else if ( ! empty($_REQUEST['event_id'] ) ) {
$Event = new Event( $_REQUEST['event_id'] );
$path = $Event->Path().'/'.$Event->DefaultVideo();
Logger::Debug("Path: $path");
} else {
$errorText = 'No video path';
}