really close to 0.9
This commit is contained in:
parent
0a0de2ed42
commit
b529217621
30 changed files with 2978 additions and 11 deletions
|
@ -264,8 +264,9 @@ class uiScheduler extends uiCalendar
|
|||
$datetime = strftime('%Y-%m-%dT%H:%M:%S');
|
||||
$xmldatetime = str_replace('-', '', $datetime);
|
||||
$pl = $this->displayScheduleMethod($xmldatetime, $xmldatetime);
|
||||
if(count($pl) == 0)
|
||||
if(!is_array($pl) || !count($pl))
|
||||
return FALSE;
|
||||
|
||||
$pl = current($pl);
|
||||
$offset = strftime('%H:%M:%S', $this->_strtotime($datetime) - $this->_datetime2timestamp($pl['start']) - UI_TIMEZONEOFFSET);
|
||||
$clip = $this->Base->gb->displayPlaylistClipAtOffset($this->Base->sessid, $pl['playlistId'], $offset, $distance);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue