Commit 0576ead2 authored by Nigel McNie's avatar Nigel McNie
Browse files

Allow psuedo children to have categories set for them.

We need this as the children need categories - the parents actually
don't, according to the spec.
parent 790370c3
...@@ -266,6 +266,10 @@ abstract class LeapExportElementResumeCompositeChild extends LeapExportElement { ...@@ -266,6 +266,10 @@ abstract class LeapExportElementResumeCompositeChild extends LeapExportElement {
} }
$this->smarty->assign('leaptype', $this->get_leap_type()); $this->smarty->assign('leaptype', $this->get_leap_type());
$this->smarty->assign('contenttype', 'text'); $this->smarty->assign('contenttype', 'text');
if (!$categories = $this->get_categories()) {
$categories = array();
}
$this->smarty->assign('categories', $categories);
$this->add_links(); $this->add_links();
$this->smarty->assign('links', $this->links); $this->smarty->assign('links', $this->links);
} }
......
Supports Markdown
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