Commit ccea1889 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "Bug 1486269: making sure pieform lib is loaded"

parents 980b09c2 a9de3acd
......@@ -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