]> git.mxchange.org Git - mailer.git/blobdiff - inc/template-functions.php
Fixes
[mailer.git] / inc / template-functions.php
index 9e9a252d1840d44918ce901742311291dc057a3e..9c9059d31494a22c23bc8a0004515d484b547917 100644 (file)
@@ -787,7 +787,7 @@ function addSelectionBox ($type, $default, $prefix = '', $id = NULL, $class = 'f
                        // Use configured min age or fixed?
                        if (isExtensionInstalledAndNewer('other', '0.2.1')) {
                                // Configured
-                               $startYear = $year - getConfig('min_age');
+                               $startYear = $year - getMinAge();
                        } else {
                                // Fixed 16 years
                                $startYear = $year - 16;