diff --git a/mod/assign/locallib.php b/mod/assign/locallib.php index 79d9ce5d6db..29eb08d3f1b 100644 --- a/mod/assign/locallib.php +++ b/mod/assign/locallib.php @@ -3181,7 +3181,7 @@ class assign { } else { $button->set_formats(PORTFOLIO_FORMAT_PLAINHTML); } - $result .= $button->to_html(); + $result .= $button->to_html(PORTFOLIO_ADD_TEXT_LINK); } return $result; }