Commit 53578fb6 authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 672173: Calling collectstats.pl with arguments passes the first argument to some SQL statements

r=gerv a=LpSolit
parent 706d83ff
......@@ -476,7 +476,7 @@ sub CollectSeriesData {
# (days_since_epoch + series_id) % frequency = 0. So they'll run every
# <frequency> days, but the start date depends on the series_id.
my $days_since_epoch = int(time() / (60 * 60 * 24));
my $today = $ARGV[0] || today_dash();
my $today = today_dash();
# We save a copy of the main $dbh and then switch to the shadow and get
# that one too. Remember, these may be the same.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment