Comment 2 for bug 1286941

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/3061
Committed: http://gitorious.org/mahara/mahara/commit/1968412b66216abc6e249401bce5c1c3e32ddd56
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 1968412b66216abc6e249401bce5c1c3e32ddd56
Author: Robert Lyon <email address hidden>
Date: Mon Mar 3 13:10:58 2014 +1300

Double call of language_select_form() throws error (bug #1286941)

Some things like die_info() will try and create a smarty() call when
we are already in one, which causes language_select_form() to throw
headdata error as it is called twice and can't be due to the form
having a select field in it and select fields love to add data to the
$HEADDATA.

Made it so that it is only called once.

Change-Id: Ie2099dfc1990c8bd2a039bdd33869d9b65c156f1
Signed-off-by: Robert Lyon <email address hidden>