mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 02:46:40 +02:00
Various cleanups
This commit is contained in:
parent
6c74c1da70
commit
f0497d6ff0
3 changed files with 55 additions and 65 deletions
|
@ -212,6 +212,7 @@ class data_field_base { /// Base class for Database Field Types (see field/*
|
|||
/// Display the content of the field in browse mode
|
||||
function display_browse_field($recordid, $template) {
|
||||
if ($content = get_record('data_content','fieldid', $this->field->id, 'recordid', $recordid)) {
|
||||
print_object($content);
|
||||
if (isset($content->content)) {
|
||||
$options->para = false;
|
||||
$str = format_text($content->content, $content->content1, $options);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue