'what' files should be loaded only once
[mailer.git] / inc / modules / member / action-order.php
index 35e0e23be85e63849d4d56e7a9f982ab2416f017..a20bc016b33cc98c11a2a26a597fc0125ac03030 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--}');
 }