Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

BUGFIX: Don't call strpos() with an empty delimiter, mb_strpos() is m…

…ore strict about this (#6751)
  • Loading branch information...
commit 767aef979450c2006e06f367964263e57321d781 1 parent 4da42f2
@sminnee sminnee authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  i18n/i18n.php
View
2  i18n/i18n.php
@@ -1821,7 +1821,7 @@ static function include_by_locale($locale, $load_plugins = true, $force_load = f
// Load translations from themes
$themesBase = $base . '/themes';
- if(is_dir($themesBase)) {
+ if(is_dir($themesBase) && SSViewer::current_theme()) {
foreach(scandir($themesBase) as $theme) {
if(
strpos($theme, SSViewer::current_theme()) === 0
Please sign in to comment.
Something went wrong with that request. Please try again.