mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #31021
[Bug 1513611] Re: Problem with artefactchooser and dwoo template
** Changed in: mahara/16.04
Status: In Progress => Fix Committed
--
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/1513611
Title:
Problem with artefactchooser and dwoo template
Status in Mahara:
Fix Committed
Status in Mahara 15.10 series:
In Progress
Status in Mahara 16.04 series:
Fix Committed
Bug description:
A couple of people have reported this problem, on of which is here:
https://mahara.org/interaction/forum/topic.php?id=7426&offset=0&limit=10#post29848
The error they get is: PHP Parse error: syntax error, unexpected '('
in
/path/to/dwoo/compile/raw/var/www/mahara-15.10.0/htdocs/theme/raw/templates/form/artefactchooser.tpl.d17.php
on line 39
The line looks to be syntax correct and works fine on my machine
(Ubuntu 14.04, firefox, PHP 5.5.9)
But we could try and fix this issue by removing the empty() function
from the template htdocs/theme/raw/templates/form/artefactchooser.tpl
and place it in the htdocs/lib/form/elements/artefactchooser.php file
instead to see if that makes a difference.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1513611/+subscriptions
References