The 15.10 patch is slightly different to the others.
in 16.04+ we can check using the SITE_TEMPLATE constant, but that didn't
exist in 15.10
instead we need to check if $template->get('owner') === '0' as it seems
that fetching the variable from db via get() method make it type string.
But we can't go (int) $template->get('owner') as both '0' and null will
be cast to 0
** Changed in: mahara/16.04
Status: Confirmed => In Progress
** Changed in: mahara/15.10
Status: Triaged => In Progress
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
Page descriptions not retained from group, institution and site pages
Status in Mahara:
Status in Mahara 15.10 series:
Status in Mahara 16.04 series:
Status in Mahara 16.10 series:
Reported at https://mahara.org/interaction/forum/topic.php?id=7731
When copying a group, institution or site page, the page description
is not copied, which makes it less useful for templates.
To manage notifications about this bug go to:
Mailing list: https://launchpad.net/~mahara-contributors
Post to : email@example.com
Unsubscribe : https://launchpad.net/~mahara-contributors
More help : https://help.launchpad.net/ListHelp