]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-surfbar_stats.php
Bug 'return is not bool' fixed
[mailer.git] / inc / modules / admin / what-surfbar_stats.php
index 9320726982ff15644a13dad1b25b54bfedf95afc..fc10c5fca38ec340a76d3cf7117e22145fa83a30 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 09/09/2008 *
- * ================                             Last change: 09/09/2008 *
+ * Mailer v0.2.1-FINAL                                Start: 09/09/2008 *
+ * ===================                          Last change: 09/09/2008 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : what-surfbar_stats.php                           *
@@ -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) {