Skip to content

Commit

Permalink
Fix bug in splash system.
Browse files Browse the repository at this point in the history
  • Loading branch information
dim-s committed Apr 23, 2017
1 parent 3ca4a23 commit 24a0dbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion develnext/src/ide/systems/SplashTipSystem.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ static function get($lang)
$databases = [];

foreach (self::$databases as $database) {
if ($database->hasLanguage($lang)) {
if ($database && $database->hasLanguage($lang)) {
$databases[] = $database;
}
}
Expand Down

0 comments on commit 24a0dbc

Please sign in to comment.