Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added new option to check for defined ipid.

  • Loading branch information...
commit 71d75831fc603b49c8fbf8640415a9c5f1cdcd9e 1 parent f86af73
@tvroom tvroom authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  Slash/DB/Static/MySQL/MySQL.pm
View
2  Slash/DB/Static/MySQL/MySQL.pm
@@ -2210,6 +2210,7 @@ sub getModderModdeeSummary {
push @where, "cuid != $ac_uid" if $options->{no_anon_comments};
push @where, "id >= $options->{start_at_id}" if $options->{start_at_id};
push @where, "id <= $options->{end_at_id}" if $options->{end_at_id};
+ push @where, "ipid is not null and ipid!=''" if $options->{need_defined_ipid};
my $where = join(" AND ", @where);
@@ -2233,6 +2234,7 @@ sub getModderCommenterIPIDSummary {
push @where, "cuid = $ac_uid" if $options->{only_anon_comments};
push @where, "id >= $options->{start_at_id}" if $options->{start_at_id};
push @where, "id <= $options->{end_at_id}" if $options->{end_at_id};
+ push @where, "ipid is not null and ipid!=''" if $options->{need_defined_ipid};
my $where = join(" AND ", @where);
my $mods = $self->sqlSelectAllHashref(
[qw(uid ipid)],
Please sign in to comment.
Something went wrong with that request. Please try again.