aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/views.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-18 21:19:11 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-18 21:19:11 +0000
commit53305ecf5ccd83618faebedb1ae9ef8e0ce61d8c (patch)
treeebc0a4461f498fe77156c3679f3c24df78a3d0c7 /engine/lib/views.php
parent677e155a31776c63fbd5701f76302e422a0dadb9 (diff)
downloadelgg-53305ecf5ccd83618faebedb1ae9ef8e0ce61d8c.tar.gz
elgg-53305ecf5ccd83618faebedb1ae9ef8e0ce61d8c.tar.bz2
Merged r6506:6509 from 1.7 to trunk.
git-svn-id: http://code.elgg.org/elgg/trunk@6516 36083f99-b078-4883-b0ff-0f9b5a30f544
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);
}