summaryrefslogtreecommitdiff
path: root/includes/bootstrap.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/bootstrap.inc')
-rw-r--r--includes/bootstrap.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index c5e3bd915..889d0e40a 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -2401,6 +2401,7 @@ function drupal_autoload_class($class) {
*/
function _registry_check_code($type, $name = NULL) {
static $lookup_cache, $cache_update_needed;
+
if ($type == 'class' && class_exists($name) || $type == 'interface' && interface_exists($name)) {
return TRUE;
}