Scott MacVicar
Wed 18th Jun '03, 11:49am
Open /includes/cron/stats.php
look for
// total views
$totalviews['total'] = $DB_site->query_first("SELECT SUM(views) AS total FROM " . TABLE_PREFIX . "thread");
replace with
// total views
$totalviews = $DB_site->query_first("SELECT SUM(views) AS total FROM " . TABLE_PREFIX . "thread");
look for
// total views
$totalviews['total'] = $DB_site->query_first("SELECT SUM(views) AS total FROM " . TABLE_PREFIX . "thread");
replace with
// total views
$totalviews = $DB_site->query_first("SELECT SUM(views) AS total FROM " . TABLE_PREFIX . "thread");