aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/views.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/views.php')
-rw-r--r--engine/lib/views.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/engine/lib/views.php b/engine/lib/views.php
index b7dc2016c..035038641 100644
--- a/engine/lib/views.php
+++ b/engine/lib/views.php
@@ -400,6 +400,9 @@ function elgg_view_regenerate_simplecache($viewtype = NULL) {
elgg_set_viewtype($original_viewtype);
+ // needs to be set for links in html head
+ $CONFIG->lastcache = $lastcached;
+
unset($CONFIG->pagesetupdone);
}