Commit fdef98aa authored by Nigel McNie's avatar Nigel McNie
Browse files

Make sure in the entireresume, we show the contact information of the user...

Make sure in the entireresume, we show the contact information of the user whose view it is, rather than the user viewing it. Fixes #1757.
parent ec223afd
......@@ -178,7 +178,7 @@ class ArtefactTypeContactinformation extends ArtefactTypeResume {
$fields = ArtefactTypeContactinformation::get_profile_fields();
foreach ($fields as $f) {
try {
$$f = artefact_instance_from_type($f);
$$f = artefact_instance_from_type($f, $this->get('owner'));
$rendered = $$f->render_self(array());
$smarty->assign($f, format_whitespace($rendered['html']));
$smarty->assign('hascontent', true);
......
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