Revision: 2286
http://mrbs.svn.sourceforge.net/mrbs/?rev=2286&view=rev
Author: cimorrison
Date: 2012-04-09 14:52:58 +0000 (Mon, 09 Apr 2012)
Log Message:
-----------
Fixed undefined variable problems in lang files
Modified Paths:
--------------
mrbs/trunk/web/language.inc
Modified: mrbs/trunk/web/language.inc
===================================================================
--- mrbs/trunk/web/language.inc 2012-04-08 18:30:50 UTC (rev 2285)
+++ mrbs/trunk/web/language.inc 2012-04-09 14:52:58 UTC (rev 2286)
@@ -694,8 +694,9 @@
// Set $vocab. Returns TRUE if a lang file is found, otherwise FALSE
function set_vocab($lang)
{
- global $vocab, $vocab_override, $cli_mode;
+ global $vocab_override, $cli_mode;
global $PHP_SELF;
+ global $vocab, $mrbs_admin, $mrbs_company; // Used in lang files
$lang = strtolower($lang);
$lang_file = "lang.$lang";
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits