calendar.cgi: undef warning
This commit is contained in:
@@ -457,7 +457,7 @@ sub showCalendar {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# series dates
|
# series dates
|
||||||
if ($params->{list} == 1){
|
if ($params->{list} == 1 and defined $options->{series_id}){
|
||||||
my $series = series::get(
|
my $series = series::get(
|
||||||
$config,
|
$config,
|
||||||
{
|
{
|
||||||
@@ -861,6 +861,7 @@ sub showEventList {
|
|||||||
: 'playout';
|
: 'playout';
|
||||||
my $playout_info = $file // $event->{upload_status} // '';
|
my $playout_info = $file // $event->{upload_status} // '';
|
||||||
|
|
||||||
|
my $studio_name = $event->{studio_name} // '-';
|
||||||
$out .=
|
$out .=
|
||||||
qq!<tr id="$id" class="$class" start="$event->{start}" >!
|
qq!<tr id="$id" class="$class" start="$event->{start}" >!
|
||||||
. qq!<td class="day_of_year">!
|
. qq!<td class="day_of_year">!
|
||||||
@@ -879,7 +880,7 @@ sub showEventList {
|
|||||||
. qq!<td class="playout" title="$playout_info">$playout</td>!
|
. qq!<td class="playout" title="$playout_info">$playout</td>!
|
||||||
. qq!<td class="archived">$archived</td>!
|
. qq!<td class="archived">$archived</td>!
|
||||||
. qq!<td>$event->{project_name} $other_studio</td>!
|
. qq!<td>$event->{project_name} $other_studio</td>!
|
||||||
. qq!<td>$event->{studio_name} $other_studio</td>!
|
. qq!<td>$studio_name $other_studio</td>!
|
||||||
. qq!</tr>! . "\n";
|
. qq!</tr>! . "\n";
|
||||||
}
|
}
|
||||||
$i++;
|
$i++;
|
||||||
|
|||||||
Reference in New Issue
Block a user