mirror of
https://github.com/moodle/moodle.git
synced 2025-04-03 15:32:43 +02:00
MDL-54871 mod_data: Remove text field when forced name present
This commit is contained in:
parent
7eb34671c1
commit
c448ab3f44
@ -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) . '">';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user