diff --git a/horde/services/cache.php b/horde/services/cache.php index 1d5b33a2dc7..bfbd9592de3 100644 --- a/horde/services/cache.php +++ b/horde/services/cache.php @@ -75,7 +75,11 @@ } $data = $cache->get($args['cid'], 0); - $type = 'text/' . $type; + if ($type == 'css') { + $type = 'text/css'; + } else { + $type = 'application/javascript'; + } break; default: