'what' files should be loaded only once
[mailer.git] / inc / modules / admin / action-login.php
index 640cddb78c1ca8a58c2420d5aebe87257282b7e5..ea0ad36f94b602406f1d670065a2c1f9177c8cf3 100644 (file)
@@ -47,7 +47,7 @@ addYouAreHereLink('admin', __FILE__);
 $inc = sprintf("inc/modules/admin/what-%s.php", getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the admin action module
-       loadInclude($inc);
+       loadIncludeOnce($inc);
 } else {
        addFatalMessage(__FILE__, __LINE__, '{--ADMIN_WHAT_404--}');
 }