MDL-54871 mod_data: Remove text field when forced name present

This commit is contained in:
Henning Bostelmann 2016-11-07 21:59:37 +00:00
parent 7eb34671c1
commit c448ab3f44

View File

@ -63,7 +63,7 @@ class data_field_url extends data_field_base {
}
}
$autolinkable = !empty($this->field->param1) and empty($this->field->param2);
$autolinkable = !empty($this->field->param1) && empty($this->field->param2);
$str = '<div title="' . s($this->field->description) . '">';