Better fix than 115ca093b7f7569e0066561add69ee7e44e0f9f7.
authorStéphane Jacob <sj@m4x.org>
Sat, 5 Nov 2011 23:37:28 +0000 (00:37 +0100)
committerStéphane Jacob <sj@m4x.org>
Sat, 5 Nov 2011 23:37:28 +0000 (00:37 +0100)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
modules/profile.php

index c79a123..940af80 100644 (file)
@@ -358,7 +358,7 @@ class ProfileModule extends PLModule
 
     function handler_education_js($page)
     {
-        pl_cached_content_headers('text/javascript', 'utf-8', 3600);
+        pl_cached_dynamic_content_headers('text/javascript', 'utf-8');
         $page->changeTpl('profile/education.js.tpl', NO_SKIN);
         require_once 'education.func.inc.php';
     }