]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-surfbar_stats.php
Complete rewrite of and , wrapper functions added, see bug #101
[mailer.git] / inc / modules / admin / what-surfbar_stats.php
index 2696de21fae58a7ca0f4ffc0bb2ab0c7fd39ba7a..fd48d1ad67e317bbda70da73005893c44e61e113 100644 (file)
@@ -41,13 +41,13 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) {
 ADD_DESCR("admin", __FILE__);
 
 // Is the 'url_id' set?
-if (isset($_GET['url_id'])) {
+if (REQUEST_ISSET_GET(('url_id'))) {
        // Generate general statistics
        $result = SQL_QUERY_ESC("SELECT `userid`, `count` AS `total_visits`, UNIX_TIMESTAMP(`last_online`) AS `last_online`
 FROM `{!_MYSQL_PREFIX!}_surfbar_stats`
 WHERE `url_id`=%s
 ORDER BY `userid` ASC",
-               array(bigintval($_GET['url_id'])), __FILE__, __LINE__);
+               array(bigintval(REQUEST_GET('url_id'))), __FILE__, __LINE__);
 
        // Entries found?
        if (SQL_NUMROWS($result) > 0) {