Skip to content

Commit

Permalink
Merge pull request MythTV#24 from fgouget/master
Browse files Browse the repository at this point in the history
Fixes #13126 - A program's category type is not localized.
  • Loading branch information
stuarta authored Nov 21, 2019
2 parents 3b15b18 + 6015dab commit 215fce1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/tv/tmpl/default/list_cell_program.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ class = "program"
echo '</a>';

// Print some additional information for movies
if ( strcasecmp($program->category_type, t('movie')) == 0
|| strcasecmp($program->category_type, t('film')) == 0) {
if ( strcasecmp($program->category_type, 'movie') == 0
|| strcasecmp($program->category_type, 'film') == 0) {
$parens = '';
if ($program->airdate > 0)
$parens = sprintf('%4d', $program->airdate);
Expand Down

0 comments on commit 215fce1

Please sign in to comment.