Commit a9de3acd authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1486269: making sure pieform lib is loaded



As there are a few possible pieform forms that could be returned

behatnotneeded

Change-Id: If821842c578116b36a3d1f0560ea15e8b2177a7b
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent c0ffcf2c
......@@ -723,6 +723,8 @@ class ArtefactTypeComment extends ArtefactType {
public static function build_html(&$data, $onview) {
global $USER, $THEME;
require_once('pieforms/pieform.php');
$candelete = $data->canedit || $USER->get('admin');
$deletedmessage = array();
foreach (self::deleted_messages() as $k => $v) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment