From 78c66df3e55d2250bd1b7d82458577ea02b698af Mon Sep 17 00:00:00 2001 From: Marcus Fabriczy Date: Sun, 10 Dec 2017 13:46:25 +1030 Subject: [PATCH] MDL-59709 mod_assign: Export to portfolio button not working Changed the button to a text link --- mod/assign/locallib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/assign/locallib.php b/mod/assign/locallib.php index df9d54b86d9..86c527058d3 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; }