projects
/
mailer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
All JavaScript files can now secured against calls without proper installation of...
[mailer.git]
/
inc
/
js
/
js-order_send.php
diff --git
a/inc/js/js-order_send.php
b/inc/js/js-order_send.php
index b44d43d8fe99e650252de471fdac23b37d3c527e..916faaba6008abca21ff5897a7a9352180cacaff 100644
(file)
--- a/
inc/js/js-order_send.php
+++ b/
inc/js/js-order_send.php
@@
-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');