'what' files should be loaded only once
[mailer.git] / inc / modules / member / action-order.php
index 35e0e23..a20bc01 100644 (file)
@@ -57,7 +57,7 @@ if ((!isExtensionActive('order')) && (!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--}');
 }