]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_user.php
LOAD_CONFIGURED_URL() added, bug #66 resolved
[mailer.git] / inc / modules / admin / what-list_user.php
index ddec04ffa8202d3b63f03eedcc2d953027d573bb..80215936949c48f59ca5a5ced36c092d490b6a08 100644 (file)
@@ -264,13 +264,9 @@ LIMIT 1",
                define('__COLSPAN2'  , ($colspan + 2));
                define('__USER_CNT'  , $user_count);
 
                define('__COLSPAN2'  , ($colspan + 2));
                define('__USER_CNT'  , $user_count);
 
-               if ((function_exists('alpha')) && (function_exists('SortLinks'))) {
-                       define('__ALPHA_SORT', alpha($_GET['sortby'], $colspan, true));
-                       define('__SORT_LINKS', SortLinks($_GET['letter'], $_GET['sortby'], $colspan, true));
-               } else {
-                       define('__ALPHA_SORT', "");
-                       define('__SORT_LINKS', "");
-               }
+               // Sorting links
+               define('__ALPHA_SORT', alpha($_GET['sortby'], $colspan, true));
+               define('__SORT_LINKS', SortLinks($_GET['letter'], $_GET['sortby'], $colspan, true));
 
                if ($PAGES > 1) {
                        define('__PAGE_NAV', ADD_PAGENAV($PAGES, getConfig('user_limit'), true, $colspan, true));
 
                if ($PAGES > 1) {
                        define('__PAGE_NAV', ADD_PAGENAV($PAGES, getConfig('user_limit'), true, $colspan, true));