MDL-59709 mod_assign: Export to portfolio button not working

Changed the button to a text link
This commit is contained in:
Marcus Fabriczy
2017-12-10 13:46:25 +10:30
parent 109aa07648
commit e7ec2f901b

View File

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