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.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/views.php b/engine/lib/views.php
index ccba3d173..3385e230c 100644
--- a/engine/lib/views.php
+++ b/engine/lib/views.php
@@ -431,7 +431,7 @@ function elgg_view_register_simplecache($viewname) {
*/
function elgg_view_get_simplecache_url($type, $view) {
global $CONFIG;
- $lastcache = $CONFIG->lastcache;
+ $lastcache = (int)$CONFIG->lastcache;
if (elgg_view_is_simplecache_enabled()) {
$viewtype = elgg_get_viewtype();