diff --git a/libraries/Theme.class.php b/libraries/Theme.class.php index f0301c04c..7ab049348 100644 --- a/libraries/Theme.class.php +++ b/libraries/Theme.class.php @@ -85,7 +85,9 @@ class PMA_Theme { $theme->setPath( $folder ); - $theme->loadInfo(); + if ( ! $theme->loadInfo() ) { + return false; + } $theme->checkImgPath();