Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'MDL-28251_m20' of git://github.com/rwijaya/moodle into …

…MOODLE_20_STABLE
  • Loading branch information...
commit 96651cf9ed24d65a7228d779e21277ad8d5ee8b8 2 parents 583c465 + e125594
@stronk7 stronk7 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 mod/data/lib.php
View
4 mod/data/lib.php
@@ -527,10 +527,10 @@ function data_generate_default_template(&$data, $template, $recordid=0, $form=fa
$cell->attributes['class'] = 'controls';
$table->data[] = new html_table_row(array($cell));
} else if ($template == 'asearchtemplate') {
- $row = new html_table_row(get_string('authorfirstname', 'data').': ', '##firstname##');
+ $row = new html_table_row(array(get_string('authorfirstname', 'data').': ', '##firstname##'));
$row->attributes['class'] = 'searchcontrols';
$table->data[] = $row;
- $row = new html_table_row(get_string('authorlastname', 'data').': ', '##lastname##');
+ $row = new html_table_row(array(get_string('authorlastname', 'data').': ', '##lastname##'));
$row->attributes['class'] = 'searchcontrols';
$table->data[] = $row;
}
Please sign in to comment.
Something went wrong with that request. Please try again.