1
0
mirror of https://github.com/moodle/moodle.git synced 2025-04-17 22:45:54 +02:00
This commit is contained in:
Andrew Nicols 2023-02-06 21:15:16 +08:00
commit e5c8a01996

@ -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;