]> git.mxchange.org Git - mailer.git/blobdiff - inc/functions.php
Fixes for inactive extension 'user'
[mailer.git] / inc / functions.php
index bfa97b999a9e7d533114e74becb3e1bbf73ceb4d..d1dffd29b99c1eb04bfb7dfe199127fa17756e00 100644 (file)
@@ -1790,7 +1790,7 @@ function CREATE_EMAIL_LINK($email, $table="admins") {
        if ((EXT_IS_ACTIVE("admins")) && ($table == "admins")) {
                // Create email link for contacting admin in guest area
                $EMAIL = ADMINS_CREATE_EMAIL_LINK($email);
-       } elseif ((GET_EXT_VERSION("user") >= "0.3.3") && ($table == "user_data")) {
+       } elseif ((EXT_IS_ACTIVE("user", true)) && (GET_EXT_VERSION("user") >= "0.3.3") && ($table == "user_data")) {
                // Create email link for contacting a member within admin area (or later in other areas, too?)
                $EMAIL = USER_CREATE_EMAIL_LINK($email);
        } elseif ((EXT_IS_ACTIVE("sponsor")) && ($table == "sponsor_data")) {