EmbeddedImage::prepare_embedded_images() - Undefined variable: form
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Son Nguyen |
Bug Description
Mahara: 15.04dev
OS: Linux
DB: postgres, mysql
browser: any
The function EmbeddedImage:
$form and $element
on line 61.
[WAR] 62 (lib/embeddedim
Call stack (most recent first):
log_
error(8, "Undefined variable: form", "/var/www/
EmbeddedIma
editpost_
call_
Pieform-
Pieform:
pieform(
It can be reproduced by:
- Create a group and enter a new topic in the forum.
- As a regular user - not the owner of the group - create a reply (with an image) to the topic
- As the owner of the group, edit the reply.
- above error will be generated.
Changed in mahara: | |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in mahara: | |
milestone: | none → 15.04.0 |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
I marked it high as it is related to the patch https:/ /reviews. mahara. org/#/c/ 4124