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

Bug 1683098: Show correct introduction info on preview



When viewing username preview modal on copy page screen

behatnotneeded

Change-Id: I4f7bb50cefdbcf9ba88d07441b8bdb14744ab720
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
(cherry picked from commit a60fe138)
parent dc254bca
......@@ -15,7 +15,7 @@ require(dirname(dirname(__FILE__)) . '/init.php');
$id = param_integer('id');
$user = get_record('usr', 'id', $id, 'deleted', 0);
$user->introduction = get_field('artefact', 'title', 'artefacttype', 'introduction', 'owner', $id);
$user->introduction = get_field('artefact', 'description', 'artefacttype', 'introduction', 'owner', $id);
$smarty = smarty_core();
$smarty->assign('user', $user);
......
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