]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/action-coupon.php
'what' files should be loaded only once
[mailer.git] / inc / modules / member / action-coupon.php
index 568644eb2eedb73776893984f8a1b8f5bfb4de3b..326da6372a52d1d4a3d54f9015988e917e169073 100644 (file)
@@ -57,7 +57,7 @@ if ((!isExtensionActive('coupon')) && (!isAdmin())) {
 $inc = sprintf("inc/modules/member/what-%s.php", getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the member action module
-       loadInclude($inc);
+       loadIncludeOnce($inc);
 } else {
        addFatalMessage(__FILE__, __LINE__, '{--MEMBER_WHAT_404--}', getWhat());
 }