'what' files should be loaded only once
[mailer.git] / inc / modules / guest / action-main.php
index c18a7eafc7e5f0fd0dab0678d6a090999d6215ad..500698e450728e4c25ece8577bc64c3998eded87 100644 (file)
@@ -50,7 +50,7 @@ addYouAreHereLink('guest', __FILE__);
 $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--}');
 }