]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/action-menu.php
'what' files should be loaded only once
[mailer.git] / inc / modules / admin / action-menu.php
index b9a973b643bae468784c2131b3df13d91490cb20..8935f93e5408b4246d3d8150e2af1dd7b5bbfe97 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
 $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--}');
 }
 } else {
        addFatalMessage(__FILE__, __LINE__, '{--ADMIN_WHAT_404--}');
 }