X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-support.php;h=253836a1ee91a81dd14e396dc587757e292a88a4;hb=37926c3fc93e4e2e000226375893a2f7f6bf3180;hp=f24de73545bacf9bd6c99590f9215555d334e832;hpb=cb20090aa0558f1b74f0e9f925f29819e8bb3a45;p=mailer.git diff --git a/inc/modules/member/what-support.php b/inc/modules/member/what-support.php index f24de73545..253836a1ee 100644 --- a/inc/modules/member/what-support.php +++ b/inc/modules/member/what-support.php @@ -57,7 +57,7 @@ if ((!isFormSent()) || (!isPostRequestParameterSet(('qsummary')))) { loadTemplate('member_support_form', false, getUserDataArray()); } else { // Load mail template based on your member's decision - if (getExtensionVersion('admins') >= '0.4.1') { + if (isExtensionInstalledAndNewer('admins', '0.4.1')) { $a_tpl = 'admin_support-' . postRequestParameter('qsummary'); } else { $message_a = loadEmailTemplate('admin_support-' . postRequestParameter('qsummary'), array('text' => postRequestParameter('qdetails')), getMemberId());