mirror of
https://github.com/moodle/moodle.git
synced 2025-03-24 09:30:17 +01:00
Merge branch 'MDL-77042-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
This commit is contained in:
commit
b9dece93d8
@ -64,7 +64,7 @@ class data_field_number extends data_field_base {
|
||||
|
||||
function display_browse_field($recordid, $template) {
|
||||
$content = $this->get_data_content($recordid);
|
||||
if (!$content || empty($content->content)) {
|
||||
if (!$content || $content->content === '') {
|
||||
return '';
|
||||
}
|
||||
$number = $content->content;
|
||||
|
Loading…
x
Reference in New Issue
Block a user