diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-10-30 12:34:16 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-10-30 12:34:16 +0100 |
commit | 1ffab0ad4aa23c45e71e26b62a86887e31061079 (patch) | |
tree | 04e48d2553c9458f9e26651475649315ee9d0f38 /program/lib/Roundcube | |
parent | 968601f1f5e7366ddc8aa72d00d2f727d9eab572 (diff) |
Fix possible issues in skin/skin_path config handling (#1490125)
Diffstat (limited to 'program/lib/Roundcube')
-rw-r--r-- | program/lib/Roundcube/rcube_plugin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube_plugin.php b/program/lib/Roundcube/rcube_plugin.php index 326f10a5c..46eec673b 100644 --- a/program/lib/Roundcube/rcube_plugin.php +++ b/program/lib/Roundcube/rcube_plugin.php @@ -422,7 +422,7 @@ abstract class rcube_plugin $rcube = rcube::get_instance(); $skins = array_keys((array)$rcube->output->skins); if (empty($skins)) { - $skins = array($rcube->config->get('skin')); + $skins = (array) $rcube->config->get('skin', 'larry'); } foreach ($skins as $skin) { $skin_path = 'skins/' . $skin; |