]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-stats_mods.php
fooRequestElementBar() functions renamed, adding of request parameters added:
[mailer.git] / inc / modules / admin / what-stats_mods.php
index 80ba39b44da674a9060fcf0e123e8319d9fedd7f..c6d08c379af255372c2abd11a83e623fada40dd2 100644 (file)
@@ -45,9 +45,9 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addMenuDescription('admin', __FILE__);
 
 // Check if module was selected
-if ((getRequestElement('mod') == 'index') || (getRequestElement('mod') == 'login')) {
+if ((getRequestParameter('mod') == 'index') || (getRequestParameter('mod') == 'login')) {
        // Select menu system
-       $mod = mapModuleToTable(getRequestElement('mod'));
+       $mod = mapModuleToTable(getRequestParameter('mod'));
 
        // Load module's detail statistic
        $result = SQL_QUERY_ESC("SELECT `action`, `title`, `counter` FROM `{?_MYSQL_PREFIX?}_%s_menu` WHERE `what` != '' AND `what` IS NOT NULL ORDER BY `counter` DESC",