Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
E
expire
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
drupal.org
expire
Commits
6b8c2b38
Commit
6b8c2b38
authored
Dec 29, 2011
by
Paul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #1299692: Null path retrieved from path redirect, leading to global flush
parent
589af4fa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
expire.module
expire.module
+3
-1
No files found.
expire.module
View file @
6b8c2b38
...
...
@@ -432,7 +432,9 @@ function expire_cache_derivative($paths, &$node = NULL) {
$path_redirects
=
expire_path_redirect_load
(
array
(
'redirect'
=>
$path
));
if
(
isset
(
$path_redirects
))
{
foreach
(
$path_redirects
as
$path_redirect
)
{
$expire
[]
=
$path_redirect
[
'path'
];
if
(
!
empty
(
$path_redirect
[
'redirect'
]))
{
$expire
[]
=
$path_redirect
[
'redirect'
];
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment