diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 4c15a8b1aa7cdcb45900c272a4f07fd8ecaa8e82..08b7afffb834213395e73ea15ccda251a7463d6e 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -34,6 +34,7 @@ Drupal 7.50, xxxx-xx-xx (development version)
   problems running the script.
 - Fixed robots.txt to allow search engines to access CSS, JavaScript and image
   files.
+- Fixed handling of missing files and functions inside the registry.
 
 Drupal 7.44, 2016-06-15
 -----------------------
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index 536d30194e8205f9ae62de13d56fbcd41eb95fcf..8035811e7cb5e96613bc1d4b96676f4b46863413 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -3187,7 +3187,7 @@ function _registry_check_code($type, $name = NULL) {
   $cache_key = $type[0] . $name;
   if (isset($lookup_cache[$cache_key])) {
     if ($lookup_cache[$cache_key]) {
-      require_once DRUPAL_ROOT . '/' . $lookup_cache[$cache_key];
+      include_once DRUPAL_ROOT . '/' . $lookup_cache[$cache_key];
     }
     return (bool) $lookup_cache[$cache_key];
   }
@@ -3212,7 +3212,7 @@ function _registry_check_code($type, $name = NULL) {
   $lookup_cache[$cache_key] = $file;
 
   if ($file) {
-    require_once DRUPAL_ROOT . '/' . $file;
+    include_once DRUPAL_ROOT . '/' . $file;
     return TRUE;
   }
   else {