Commit 1ed78bf9 authored by Robert Lyon's avatar Robert Lyon

Bug 1631806: Copy page description when institution/group

When a group, institution or site page is copied,
the page description from the template page
should be copied to the new page.


Change-Id: I89dd24457005c2b2d43abfbb65824198d85f8fd1
Signed-off-by: Robert Lyon's avatarRobert Lyon <>
parent 3813ea8e
......@@ -5428,7 +5428,7 @@ class View {
$this->set('numcolumns', $template->get('numcolumns'));
$this->set('numrows', $template->get('numrows'));
$this->set('layout', $template->get('layout'));
if ($template->get('owner') == 0
if ($template->get('owner') === '0'
&& $template->get('type') == 'portfolio') {
$this->set('description', '');
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