'what' files should be loaded only once
[mailer.git] / inc / modules / admin / action-doubler.php
index ff2a0b9678637072b2af50c35d3d375d8410554f..38cec6ab010b2da4c56358bc1c2ea90562e8df58 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 {
        // "what file" not found
        addFatalMessage(__FILE__, __LINE__, '{--ADMIN_WHAT_404--}');