From 4e1405ca392dac9cf91379f1ccc1f2c9b44b4604 Mon Sep 17 00:00:00 2001 From: "Michael Kaufmann (d00p)" Date: Mon, 22 Mar 2010 16:14:23 +0000 Subject: [PATCH] fixing php-error (using $this where there should not be one), fixes #83 --- scripts/jobs/cron_traffic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/jobs/cron_traffic.php b/scripts/jobs/cron_traffic.php index 90572b7c..f983eb92 100644 --- a/scripts/jobs/cron_traffic.php +++ b/scripts/jobs/cron_traffic.php @@ -165,7 +165,7 @@ while($row = $db->fetch_array($result)) unset($domainlist[$row['customerid']][$domainid]); } - if($this->settings['system']['awstats_enabled'] == '1') + if($settings['system']['awstats_enabled'] == '1') { $httptraffic+= floatval(callAwstatsGetTraffic($domain, $row['documentroot'] . '/webalizer/' . $domain . '/', $domainlist[$row['customerid']])); }