Commit 5b12cfd8 authored by Nigel McNie's avatar Nigel McNie
Browse files

Reverse arguments for LeapExportElementPersonalinformation constructor.

They're the wrong way around. I can't work out how exactly this was
working before, but switching them around to what they should be can't
be a bad thing.
parent 9f180398
......@@ -85,8 +85,8 @@ class LeapExportElementContactinformation extends LeapExportElement {
class LeapExportElementPersonalinformation extends LeapExportElement {
public function __construct(LeapExporter $exporter, ArtefactType $artefact) {
parent::__construct($exporter, $artefact);
public function __construct(ArtefactType $artefact, LeapExporter $exporter) {
parent::__construct($artefact, $exporter);
$c = $this->artefact->get('composites');
$persondata = array();
foreach ($c as $k => $v) {
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