summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--includes/expire.api.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/includes/expire.api.inc b/includes/expire.api.inc
index 8b290f7..31ebf06 100644
--- a/includes/expire.api.inc
+++ b/includes/expire.api.inc
@@ -438,7 +438,10 @@ class ExpireAPI {
// found.
$alias = drupal_get_path_alias($path, $langcode);
if ($alias != $path) {
- $urls[$alias] = $alias;
+ $urls[$alias] = array(
+ 'path' => $alias,
+ 'query' => array(),
+ );
$wildcards[$alias] = $wildcard;
}
}