fooRequestElementBar() functions renamed, adding of request parameters added:
[mailer.git] / inc / modules / admin / what-surfbar_stats.php
index adf2c6a5bd3aac4365ae9089416f96634d13e47b..fc10c5fca38ec340a76d3cf7117e22145fa83a30 100644 (file)
@@ -45,13 +45,13 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 addMenuDescription('admin', __FILE__);
 
 // Is the 'url_id' set?
-if (isGetRequestElementSet(('url_id'))) {
+if (isGetRequestParameterSet(('url_id'))) {
        // Generate general statistics
        $result = SQL_QUERY_ESC("SELECT `userid`,`count` AS `total_visits`, UNIX_TIMESTAMP(`last_surfed`) AS `last_surfed`
 FROM `{?_MYSQL_PREFIX?}_surfbar_stats`
 WHERE `url_id`=%s
 ORDER BY `userid` ASC",
-       array(bigintval(getRequestElement('url_id'))), __FILE__, __LINE__);
+       array(bigintval(getRequestParameter('url_id'))), __FILE__, __LINE__);
 
        // Entries found?
        if (SQL_NUMROWS($result) > 0) {