diff --git a/mod/assign/locallib.php b/mod/assign/locallib.php index 1f587792a3b..c0590a732c2 100644 --- a/mod/assign/locallib.php +++ b/mod/assign/locallib.php @@ -3045,7 +3045,7 @@ class assign { } else { $button->set_formats(PORTFOLIO_FORMAT_PLAINHTML); } - $result .= $button->to_html(); + $result .= $button->to_html(PORTFOLIO_ADD_TEXT_LINK); } return $result; }