diff options
author | Michael Hamann <michael@content-space.de> | 2012-07-28 11:14:09 +0200 |
---|---|---|
committer | Michael Hamann <michael@content-space.de> | 2012-07-28 11:34:47 +0200 |
commit | 0a6ae52f7430e50a9680c9a927d460c63395087c (patch) | |
tree | bbe76235e3f01a580ad95d2bcb83264be0c3c013 /lib/plugins | |
parent | 3e8e3ae62e43569a3dbe679e04d07744e045e472 (diff) | |
download | rpg-0a6ae52f7430e50a9680c9a927d460c63395087c.tar.gz rpg-0a6ae52f7430e50a9680c9a927d460c63395087c.tar.bz2 |
Initialize more variables and test if others are set (no functional changes)
Diffstat (limited to 'lib/plugins')
-rw-r--r-- | lib/plugins/syntax.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/plugins/syntax.php b/lib/plugins/syntax.php index a68946a99..8b94493e4 100644 --- a/lib/plugins/syntax.php +++ b/lib/plugins/syntax.php @@ -217,6 +217,7 @@ class DokuWiki_Syntax_Plugin extends Doku_Parser_Mode { global $conf; // definitely don't invoke "global $lang" $path = DOKU_PLUGIN.$this->getPluginName().'/lang/'; + $lang = array(); // don't include once, in case several plugin components require the same language file @include($path.'en/lang.php'); if ($conf['lang'] != 'en') @include($path.$conf['lang'].'/lang.php'); |