diff --git a/public/enrol/renderer.php b/public/enrol/renderer.php index b5423ae8b9e..9c5d459215c 100644 --- a/public/enrol/renderer.php +++ b/public/enrol/renderer.php @@ -368,7 +368,7 @@ class course_enrolment_table extends html_table implements renderable { $this->sort = optional_param(self::SORTVAR, self::DEFAULTSORT, PARAM_ALPHANUM); $this->sortdirection = optional_param(self::SORTDIRECTIONVAR, self::DEFAULTSORTDIRECTION, PARAM_ALPHA); - $this->attributes = array('class' => 'userenrolment table-striped'); + $this->attributes = ['class' => 'userenrolment table table-striped table-hover generaltable']; if (!in_array($this->sort, self::$sortablefields)) { $this->sort = self::DEFAULTSORT; } @@ -654,7 +654,7 @@ class course_enrolment_other_users_table extends course_enrolment_table { */ public function __construct(course_enrolment_manager $manager) { parent::__construct($manager); - $this->attributes = array('class'=>'userenrolment otheruserenrolment'); + $this->attributes['class'] .= ' otheruserenrolment'; } /**