]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-add_tester_user.php
Continued a bit:
[mailer.git] / inc / modules / admin / what-add_tester_user.php
index f8d3ec44b39204179edfd85fafaa16e6376ad807..588e04a498b5ca068b31c7505d459488e9fefa6e 100644 (file)
@@ -43,6 +43,13 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 // Add description as navigation point
 addYouAreHereLink('admin', __FILE__);
 
+// Is ext-country installed?
+if (!isExtensionActive('country')) {
+       // This extension is also required
+       displayMessage('{%pipe,generateExtensionInactiveNotInstalledMessage=country%}');
+       return;
+} // END - if
+
 // Is the form sent or something did go wrong?
 if (!isNewUserTesterAllowed()) {
        // No more accounts allowed to create (maximum reached)