'what' files should be loaded only once
[mailer.git] / inc / modules / guest / action-sponsor.php
index 4a7824a24027d01daaec2cf433b5bf8705e40190..ad6c42e52ac234465cb30859d95752a4b8130223 100644 (file)
@@ -54,7 +54,7 @@ if ((!isExtensionActive('sponsor')) && (!isAdmin())) {
 $inc = sprintf("inc/modules/guest/what-%s.php", getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the guest action module
-       loadInclude($inc);
+       loadIncludeOnce($inc);
 } else {
        addFatalMessage(__FILE__, __LINE__, '{--GUEST_WHAT_404--}');
 }