diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-12-07 06:07:19 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-12-07 06:07:19 +0000 |
commit | b52cdd773c10df895f306f4956e8b8294d875c0f (patch) | |
tree | 9a5f2e8cf4033c03db179c55f74c390a13363d65 /includes | |
parent | 778ec56c7b2e30b97671b4f5090c7832ed41649d (diff) | |
download | brdo-b52cdd773c10df895f306f4956e8b8294d875c0f.tar.gz brdo-b52cdd773c10df895f306f4956e8b8294d875c0f.tar.bz2 |
#652420 by sun: Fixed Various failures everywhere caught by asserting on watchdog errors found in testing logs.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/path.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/path.inc b/includes/path.inc index cbbaff691..7d9fc1631 100644 --- a/includes/path.inc +++ b/includes/path.inc @@ -161,7 +161,7 @@ function drupal_cache_system_paths() { // Check if the system paths for this page were loaded from cache in this // request to avoid writing to cache on every request. $cache = &drupal_static('drupal_lookup_path', array()); - if (empty($cache['system_paths'])) { + if (empty($cache['system_paths']) && !empty($cache['map'])) { // Generate a cache ID (cid) specifically for this page. $cid = current_path(); // The static $map array used by drupal_lookup_path() includes all |