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",