From a671223823f72472fc44896af7626cb7a6425444 Mon Sep 17 00:00:00 2001 From: Michael Kaufmann Date: Mon, 28 Dec 2020 19:43:40 +0100 Subject: [PATCH] corrected too few arguments to function Froxlor\Cron\Traffic\TrafficCron::callAwstatsGetTraffic(); fixes #901 Signed-off-by: Michael Kaufmann --- lib/Froxlor/Cron/Traffic/TrafficCron.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Froxlor/Cron/Traffic/TrafficCron.php b/lib/Froxlor/Cron/Traffic/TrafficCron.php index ae26c572..e11b2d08 100644 --- a/lib/Froxlor/Cron/Traffic/TrafficCron.php +++ b/lib/Froxlor/Cron/Traffic/TrafficCron.php @@ -215,7 +215,7 @@ class TrafficCron extends \Froxlor\Cron\FroxlorCron // will iterate through all customer-domains and the awstats-configs // know the logfile-name, #246 if (Settings::Get('system.awstats_enabled') == '1') { - $httptraffic += floatval(self::callAwstatsGetTraffic($row['customerid'], $row['documentroot'] . '/awstats/', $domainlist[$row['customerid']]), $current_stamp); + $httptraffic += floatval(self::callAwstatsGetTraffic($row['customerid'], $row['documentroot'] . '/awstats/', $domainlist[$row['customerid']], $current_stamp)); } else { $httptraffic += floatval(self::callWebalizerGetTraffic($row['loginname'], $row['documentroot'] . '/webalizer/', $caption, $domainlist[$row['customerid']])); }