aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerl Tidy <perltidy@bugzilla.org>2019-01-31 20:50:06 -0500
committerDylan William Hardison <dylan@hardison.net>2019-01-31 21:02:46 -0500
commitf91e240aac65936bc9dee0f926cd6f1021f48fe0 (patch)
tree596aa9893d4526e646b9a64fd6c65706c8dd3340 /whine.pl
parentadd perl-fmt script (diff)
downloadbugzilla-f91e240aac65936bc9dee0f926cd6f1021f48fe0.tar.gz
bugzilla-f91e240aac65936bc9dee0f926cd6f1021f48fe0.tar.bz2
bugzilla-f91e240aac65936bc9dee0f926cd6f1021f48fe0.zip
no bug - perltidy again, using the latest release
blame jeff
Diffstat (limited to 'whine.pl')
-rwxr-xr-xwhine.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/whine.pl b/whine.pl
index 67faaeaf2..691df886f 100755
--- a/whine.pl
+++ b/whine.pl
@@ -253,7 +253,7 @@ sub get_next_event {
my $sth = $dbh->prepare("SELECT name FROM groups " . "WHERE id=?");
$sth->execute($mailto);
my $groupname = $sth->fetch->[0];
- my $group_id = Bugzilla::Group::ValidateGroupName($groupname, $owner);
+ my $group_id = Bugzilla::Group::ValidateGroupName($groupname, $owner);
if ($group_id) {
my $glist = join(',', @{Bugzilla::Group->flatten_group_membership($group_id)});
$sth = $dbh->prepare(
@@ -417,7 +417,7 @@ sub run_queries {
push @{$thisquery->{'columnlist'}}, @searchfields;
my @orderstrings = split(/,\s*/, $searchparams->param('order') || '');
- my $search = new Bugzilla::Search(
+ my $search = new Bugzilla::Search(
'fields' => \@searchfields,
'params' => scalar $searchparams->Vars,
'user' => $args->{'recipient'}, # the search runs as the recipient
@@ -628,7 +628,7 @@ sub get_next_date {
# if it's today
if ($daysinmonth[$now_month] == $now_day) {
my $month = $now_month + 1;
- $month = 1 if $month > 12;
+ $month = 1 if $month > 12;
$add_days = $daysinmonth[$month] + 1;
}
else {