Reviewed: https://reviews.mahara.org/5671 Committed: https://git.mahara.org/mahara/mahara/commit/f15b4e7d1866cdb84f0ee85a7b699fae3e120aa3 Submitter: Robert Lyon ([email protected]) Branch: 15.10_STABLE
commit f15b4e7d1866cdb84f0ee85a7b699fae3e120aa3 Author: Robert Lyon <[email protected]> Date: Fri Nov 6 09:34:37 2015 +1300 Bug 1513611: Artefactchooser template is broken for some systems I can't replicate but believe it's due to the .tpl file compiling to a call to empty() with an expression as the parameter (which is not supported by PHP prior to 5.5) behatnotneeded: covered by existing tests Change-Id: Ic44b89070de169790dbc5ab6d32a12484925c7e3 Signed-off-by: Robert Lyon <[email protected]> (cherry picked from commit 6353a366818070114126e845a309a1b86a209164) -- 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: Fix Committed 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 _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp

