--- mythweb/modules/tv/recorded.php 2019-01-08 20:32:48.755707414 +0000 +++ mythweb/modules/tv/recorded.php 2019-01-08 20:33:16.975573210 +0000 @@ -179,14 +179,14 @@ if (function_exists('gmp_mul')) { // GMP functions should work better with 64 bit numbers. $size = gmp_mul('1024', $size); - define(disk_size, gmp_strval($size)); + define('disk_size', gmp_strval($size)); $size = gmp_mul('1024', $used); - define(disk_used, gmp_strval($size)); + define('disk_used', gmp_strval($size)); } else { // This is inaccurate, but it's the best we can get without GMP. - define(disk_size, ($size * 1024)); - define(disk_used, ($used * 1024)); + define('disk_size', ($size * 1024)); + define('disk_used', ($used * 1024)); } // 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 @@
jobs_possible)) { + if (is_array($program->jobs_possible) && count($program->jobs_possible)) { echo t('Queue a job'), ':', ' '; } - if (count($program->jobs['queue'])) { + if (is_array($program->jobs['queue']) && count($program->jobs['queue'])) { echo t('Queued jobs'), ':', ' '; } - if (count($program->jobs['done'])) { + if (is_array($program->jobs['done']) && count($program->jobs['done'])) { echo t('Recently completed jobs'), ':', '