← Back to team overview

mahara-contributors team mailing list archive

[Bug 787123] Re: static $lang in mahara.php

 

Looks to me like this is due to get_string being called before the
config is loaded up, which can happen if, for example, the site fails
one of the sanity checks, and calls get_string to report an error.

If that's the problem, then to fix it without any impact on performance,
we can just reset the current language after loading the config.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/787123

Title:
   static $lang in mahara.php

Status in Mahara ePortfolio:
  Confirmed

Bug description:
  Hi,

  please check if the line with  static $lang around line 821 or 925
  prevents that language packs are installable?

  I noticed/read this problem in a few German installations.

  Cheers Heinz


References