Fixed bug data_print_template() from /mod/data/lib.php. Extra function

argument removed.
This commit is contained in:
vyshane
2006-03-23 08:34:22 +00:00
parent e8964639ce
commit fd96d5e2ec
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -855,7 +855,7 @@ function data_print_template($records, $data, $search, $template, $sort, $page=0
foreach ($possiblefields as $cfield) {
$patterns[]='/\[\['.$cfield->name.'\]\]/i';
$g = data_get_field($cfield, $data);
$replacement[] = highlight($search, $g->display_browse_field($cfield->id, $record->id, $template));
$replacement[] = highlight($search, $g->display_browse_field($record->id, $template));
unset($g);
}