Commit 2a2e580e authored by Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic
Browse files

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
parent 8320dd1b
......@@ -5335,7 +5335,7 @@ class View {
$this->set('numrows', $template->get('numrows'));
$this->set('layout', $template->get('layout'));
if ($template->get('owner') == 0
if ($template->get('template') == self::SITE_TEMPLATE
&& $template->get('type') == 'portfolio') {
$this->set('description', '');
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