Fix for registration, logic went wrong...
[mailer.git] / js.php
diff --git a/js.php b/js.php
index 6cdea2a1c6545d812b82de7e244fb7e6ddb00605..b12d5270ed4816cb59f2d1816834544625cbe672 100644 (file)
--- a/js.php
+++ b/js.php
@@ -55,11 +55,11 @@ $GLOBALS['module'] = 'js';
 // Load the required file(s)
 require('inc/config-global.php');
 
+// Set header
+setContentType('text/javascript');
+
 // Is 'js' is provied?
 if (isGetRequestParameterSet('js')) {
-       // Set header
-       setContentType('text/javascript');
-
        // Load header
        loadIncludeOnce('inc/header.php');