From cbebdfe670580d85529991ff3846c0784661bfac Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Fri, 1 Apr 2016 13:00:59 -0400 Subject: [PATCH] add Time function to get unixtime from StartTime --- web/includes/Event.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/includes/Event.php b/web/includes/Event.php index 00bc6d207..6e50a1e12 100644 --- a/web/includes/Event.php +++ b/web/includes/Event.php @@ -57,7 +57,7 @@ class Event { $event_path = $this->{'MonitorId'} .'/'.strftime( "%y/%m/%d/%H/%M/%S", - $this->{'Time'} + $this->Time() ) ; } @@ -75,7 +75,7 @@ class Event { public function LinkPath() { if ( ZM_USE_DEEP_STORAGE ) { - return $this->{'MonitorId'} .'/'.strftime( "%y/%m/%d/.", $this->{'Time'}).$this->{'Id'}; + return $this->{'MonitorId'} .'/'.strftime( "%y/%m/%d/.", $this->Time()).$this->{'Id'}; } Error("Calling Link_Path when not using deep storage"); return ''; @@ -145,6 +145,6 @@ public function getStreamSrc( $args, $querySep='&' ) { } return( $streamSrc ); - } // end function etStreamSrc + } // end function getStreamSrc } # end class ?>