NOBUG: fixed incorect use of $output variable
NOBUG: fixed incorect use of $output variable

I propose to use $output variable name for renderer instance only. Also,
this did not work at all as $output was not returned.

dilawar/moodle