PHP Error in Renderers.php

Issue #97 resolved
Jeremy Hopkins created an issue

On line 1044 of renders.php there is a PHP error caused by an undefined variable "$teste":

array('id' => $course->id)), $btn, array('class' => "$teste coursebtn submit btn btn-info btn-sm pull-right"));

I am not sure what that variable was being used for, it looks like something left over from development / testing but without knowing what was supposed to be in there (as the declaration has been removed) I am not sure whether this can simply be deleted or whether there was a variable required here?

Comments (2)

  1. John Stabinger

    I just looked at this now. It can just be removed. It was from when we were doing something else with the settings there. Let me know if you want me to re-send.

  2. Log in to comment