diff options
author | Andreas Gohr <andi@splitbrain.org> | 2013-09-22 08:39:16 -0700 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2013-09-22 08:39:16 -0700 |
commit | 77fdda69a5ae7b877bdf66d5158b3ab0b583f4f4 (patch) | |
tree | 16238e3eae6141a199a91704493a5a3770d8b56a /lib/plugins/syntax.php | |
parent | 9c438d6c2f958e38aa324a04ed37b9a072872038 (diff) | |
parent | 2f7a0e94cadfbc1ece3bd1d3ff23483b845cd420 (diff) | |
download | rpg-77fdda69a5ae7b877bdf66d5158b3ab0b583f4f4.tar.gz rpg-77fdda69a5ae7b877bdf66d5158b3ab0b583f4f4.tar.bz2 |
Merge pull request #333 from mperry2/whitespace
Fix CodeSniffer whitespace violoations
Diffstat (limited to 'lib/plugins/syntax.php')
-rw-r--r-- | lib/plugins/syntax.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/plugins/syntax.php b/lib/plugins/syntax.php index 6aa403b61..8df5abb08 100644 --- a/lib/plugins/syntax.php +++ b/lib/plugins/syntax.php @@ -216,12 +216,12 @@ 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'); - + $this->lang = $lang; $this->localised = true; } |