All JavaScript files can now secured against calls without proper installation of...
[mailer.git] / inc / js / js-order_send.php
index b44d43d8fe99e650252de471fdac23b37d3c527e..916faaba6008abca21ff5897a7a9352180cacaff 100644 (file)
@@ -39,7 +39,9 @@
 // Some security stuff...
 if (!defined('__SECURITY')) {
        die();
-} // END - if
+} elseif (!isExtensionActive('order')) {
+       return;
+}
 
 // Simply load the JavaScript here
 loadTemplate('js_order_sent');