diff --git a/lib/tablelib.php b/lib/tablelib.php index 7f459ac2873..01e9f4cefc8 100644 --- a/lib/tablelib.php +++ b/lib/tablelib.php @@ -1207,7 +1207,7 @@ class flexible_table { 'data-action' => 'show', 'data-column' => $column); return html_writer::link($this->baseurl->out(false, array($this->request[TABLE_VAR_SHOW] => $column)), - $OUTPUT->pix_icon('t/switch_plus', get_string('show')), $linkattributes); + $OUTPUT->pix_icon('t/switch_plus', null), $linkattributes); } else if ($this->headers[$index] !== NULL) { $linkattributes = array('title' => get_string('hide') . ' ' . strip_tags($this->headers[$index]), @@ -1216,7 +1216,7 @@ class flexible_table { 'data-action' => 'hide', 'data-column' => $column); return html_writer::link($this->baseurl->out(false, array($this->request[TABLE_VAR_HIDE] => $column)), - $OUTPUT->pix_icon('t/switch_minus', get_string('hide')), $linkattributes); + $OUTPUT->pix_icon('t/switch_minus', null), $linkattributes); } }