summaryrefslogtreecommitdiff
path: root/includes/bootstrap.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/bootstrap.inc')
-rw-r--r--includes/bootstrap.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index 26fa25ec2..3b3d1589f 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -355,7 +355,9 @@ function drupal_get_filename($type, $name, $filename = NULL) {
}
}
- return $files[$type][$name];
+ if (isset($files[$type][$name])) {
+ return $files[$type][$name];
+ }
}
/**