--- includes/programs_old.php 2004-08-27 12:01:48.468125364 +0200 +++ includes/programs.php 2004-08-27 12:03:59.798619498 +0200 @@ -55,9 +55,9 @@ load_one_program: a shortcut to load_all_program_data's single-program query */ - function &load_one_program($start_time, $chanid) { + function load_one_program(&$program, $start_time, $chanid) + { $program = &load_all_program_data($start_time, $start_time, $chanid, true); - return $program; } /* @@ -296,7 +296,7 @@ elseif ($this->chanid) { unset($this->filename); // Redefine this object - we won't need any filesize information because this isn't a recorded program - $this = load_one_program($this->starttime, $this->chanid); + load_one_program($this, $this->starttime, $this->chanid); } // Load the remaining info we got from mythbackend $this->title = $program_data[0]; # program name/title