Commit c448ab3f authored by Henning Bostelmann's avatar Henning Bostelmann
Browse files

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

parent 7eb34671
......@@ -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) . '">';
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment