diff options
author | Andreas Gohr <andi@splitbrain.org> | 2008-10-12 13:31:50 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2008-10-12 13:31:50 +0200 |
commit | 066fee3089513b988d1beac2040e32a365921310 (patch) | |
tree | e20413f725f57ec6071c66b745fc25bea2e08b55 /lib/plugins/config/settings/config.class.php | |
parent | 7aedde2e62651d550e6213d3852447b26255e8de (diff) | |
download | rpg-066fee3089513b988d1beac2040e32a365921310.tar.gz rpg-066fee3089513b988d1beac2040e32a365921310.tar.bz2 |
Make license selectable from config FS#312
darcs-hash:20081012113150-7ad00-6408da058bdb6c923159d445e03b76f54b579362.gz
Diffstat (limited to 'lib/plugins/config/settings/config.class.php')
-rw-r--r-- | lib/plugins/config/settings/config.class.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/plugins/config/settings/config.class.php b/lib/plugins/config/settings/config.class.php index faa8c5e7e..011335913 100644 --- a/lib/plugins/config/settings/config.class.php +++ b/lib/plugins/config/settings/config.class.php @@ -631,6 +631,7 @@ if (!class_exists('setting_multichoice')) { foreach ($this->_choices as $choice) { $selected = ($value == $choice) ? ' selected="selected"' : ''; $option = $plugin->getLang($this->_key.'_o_'.$choice); + if (!$option && isset($this->lang[$this->_key.'_o_'.$choice])) $option = $this->lang[$this->_key.'_o_'.$choice]; if (!$option) $option = $choice; $choice = htmlspecialchars($choice); |