diff --git a/e107_handlers/js_manager.php b/e107_handlers/js_manager.php index 940e1b838..6e74876b3 100644 --- a/e107_handlers/js_manager.php +++ b/e107_handlers/js_manager.php @@ -1579,6 +1579,7 @@ class e_jsmanager { $content .= "/* File: ".str_replace("../",'',$path)." */\n"; $content .= $this->getCacheFileContent($path, $type); + $content .= ($type === 'js') ? ";" : ""; // precaution in case it is missing from a js file. $content .= "\n\n"; }