Skip to content

Commit 24a0dbc

Browse files
committed
Fix bug in splash system.
1 parent 3ca4a23 commit 24a0dbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

develnext/src/ide/systems/SplashTipSystem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ static function get($lang)
116116
$databases = [];
117117

118118
foreach (self::$databases as $database) {
119-
if ($database->hasLanguage($lang)) {
119+
if ($database && $database->hasLanguage($lang)) {
120120
$databases[] = $database;
121121
}
122122
}

0 commit comments

Comments
 (0)