diff --git a/mod/data/field/picture/field.class.php b/mod/data/field/picture/field.class.php
index 3f216971bbe..62116b6708f 100644
--- a/mod/data/field/picture/field.class.php
+++ b/mod/data/field/picture/field.class.php
@@ -152,13 +152,13 @@ class data_field_picture extends data_field_base {
if ($template == 'listtemplate') {
$src = file_encode_url($CFG->wwwroot.'/pluginfile.php', '/'.$this->context->id.'/mod_data/content/'.$content->id.'/'.'thumb_'.$content->content);
// no need to add width/height, because the thumb is resized properly
- $str = '';
+ $str = '';
} else {
$src = file_encode_url($CFG->wwwroot.'/pluginfile.php', '/'.$this->context->id.'/mod_data/content/'.$content->id.'/'.$content->content);
$width = $this->field->param1 ? ' width="'.s($this->field->param1).'" ':' ';
$height = $this->field->param2 ? ' height="'.s($this->field->param2).'" ':' ';
- $str = '';
+ $str = '';
}
return $str;
diff --git a/mod/data/field/radiobutton/mod.html b/mod/data/field/radiobutton/mod.html
index 6d8bef38234..a8812926b95 100644
--- a/mod/data/field/radiobutton/mod.html
+++ b/mod/data/field/radiobutton/mod.html
@@ -9,6 +9,6 @@
-
+
diff --git a/mod/data/lib.php b/mod/data/lib.php
index 85c507fa620..15e51efce9e 100644
--- a/mod/data/lib.php
+++ b/mod/data/lib.php
@@ -244,7 +244,7 @@ class data_field_base { // Base class for Database Field Types (see field/*/
$str = '