diff options
Diffstat (limited to 'www-apps/mythweb')
-rw-r--r-- | www-apps/mythweb/mythweb-0.28.1-php-7.2.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/www-apps/mythweb/mythweb-0.28.1-php-7.2.patch b/www-apps/mythweb/mythweb-0.28.1-php-7.2.patch index 345142b..ba8305d 100644 --- a/www-apps/mythweb/mythweb-0.28.1-php-7.2.patch +++ b/www-apps/mythweb/mythweb-0.28.1-php-7.2.patch @@ -19,3 +19,32 @@ } // Load the class for this page +--- mythweb/modules/tv/tmpl/default/detail.php 2019-01-08 21:15:23.911010631 +0000 ++++ mythweb/modules/tv/tmpl/default/detail.php 2019-01-08 21:15:37.838792895 +0000 +@@ -830,7 +830,7 @@ + </div> + <div class="x-jobs"> + <?php +- if (count($program->jobs_possible)) { ++ if (is_array($program->jobs_possible) && count($program->jobs_possible)) { + echo t('Queue a job'), ':', + ' <ul class="x-queue">'; + foreach ($program->jobs_possible as $id => $job) { +@@ -842,7 +842,7 @@ + } + echo ' </ul>'; + } +- if (count($program->jobs['queue'])) { ++ if (is_array($program->jobs['queue']) && count($program->jobs['queue'])) { + echo t('Queued jobs'), ':', + ' <ul class="-queued">'; + foreach ($program->jobs['queue'] as $job) { +@@ -856,7 +856,7 @@ + } + echo ' </ul>'; + } +- if (count($program->jobs['done'])) { ++ if (is_array($program->jobs['done']) && count($program->jobs['done'])) { + echo t('Recently completed jobs'), ':', + ' <ul class="-done">'; + foreach ($program->jobs['done'] as $job) { |