Commit 51be11cb authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "Bug 1631806: Copy page description when institution/group"

parents cf91f026 2a2e580e
......@@ -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', '');
}
......
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