From 18c838f58659e5e4e3ff99e1b19ddf2d505bcfb1 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 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; }