summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts/clientscripts.php
diff options
context:
space:
mode:
authorrojaro <>2011-05-10 12:07:18 +0000
committerrojaro <>2011-05-10 12:07:18 +0000
commit96b9ac57d104182292983c671e2a4b81f71fda47 (patch)
tree372f9c1c80a7f89db6f3f8b8409726491a2f8260 /framework/Web/Javascripts/clientscripts.php
parentba0935a74dcae1e92b6db90e20411de2fd48d6ef (diff)
fixed #321
Diffstat (limited to 'framework/Web/Javascripts/clientscripts.php')
-rw-r--r--framework/Web/Javascripts/clientscripts.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/Javascripts/clientscripts.php b/framework/Web/Javascripts/clientscripts.php
index 0d1d6b25..18f4c41b 100644
--- a/framework/Web/Javascripts/clientscripts.php
+++ b/framework/Web/Javascripts/clientscripts.php
@@ -222,7 +222,7 @@ function get_javascript_code($minify=false)
*
* @param string $filePath (default: NULL)
*/
-function print_headers($filePath = false)
+function print_headers($filePath = null)
{
$expiresOffset = is_debug_mode() ? -10000 : 3600 * 24 * 10; //no cache
header("Content-type: text/javascript");