mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #24384
[Bug 1420590] Re: undefined 'form' error when embedding a group image
** Changed in: mahara
Assignee: (unassigned) => Robert Lyon (robertl-9)
--
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!
https://bugs.launchpad.net/bugs/1420590
Title:
undefined 'form' error when embedding a group image
Status in Mahara ePortfolio:
Confirmed
Bug description:
When trying to embed a group image into the group description field
and then save the form I get
44 (lib/embeddedimage.php:61) Undefined variable: form, referer: http
://mahara-devel/group/edit.php?id=3
This is due to the prepare_embedded_images() function not actually
passing in the $from variable so the following line fails
$form->i18n('rule', 'wysiwygimagerights', 'wysiwygimagerights',
$element);
But part of this problem is that the file should be publishable by an
admin member of the group but it doesn't seem to be.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1420590/+subscriptions
References