← Back to team overview

mahara-contributors team mailing list archive

[Bug 1286941] A change has been merged

 

Reviewed:  https://reviews.mahara.org/4018
Committed: http://gitorious.org/mahara/mahara/commit/74cdf31bdffa5bd6045f959bfd94df7850c9fc29
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    1.8_STABLE

commit 74cdf31bdffa5bd6045f959bfd94df7850c9fc29
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
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 <robertl@xxxxxxxxxxxxxxx>

-- 
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/1286941

Title:
  double call of language_select_form()

Status in Mahara ePortfolio:
  Fix Released
Status in Mahara 1.8 series:
  Fix Committed

Bug description:
  Double call of language_select_form() throws error

  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1286941/+subscriptions


References