]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/action-theme.php
'what' files should be loaded only once
[mailer.git] / inc / modules / admin / action-theme.php
index 5cae86c8e1f53698cc164039e0c1f15e145b4c6a..65eb3c2857c1a25edcd196a218d901ff83094909 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--}');
 }