Lines 167-173
if( !$expdays ) {
Link Here
|
167 |
|
167 |
|
168 |
my $admin_adress = C4::Context->preference('KohaAdminEmailAddress'); |
168 |
my $admin_adress = C4::Context->preference('KohaAdminEmailAddress'); |
169 |
warn 'getting upcoming membership expires' if $verbose; |
169 |
warn 'getting upcoming membership expires' if $verbose; |
170 |
my $upcoming_mem_expires = Koha::Patrons->search_upcoming_membership_expires({ 'me.branchcode' => $branch, before => $before, after => $after }); |
170 |
my $upcoming_mem_expires = Koha::Patrons->search_upcoming_membership_expires( |
|
|
171 |
{ |
172 |
( $branch ? ( 'me.branchcode' => $branch ) : () ), |
173 |
before => $before, |
174 |
after => $after, |
175 |
} |
176 |
); |
171 |
warn 'found ' . $upcoming_mem_expires->count . ' soon expiring members' |
177 |
warn 'found ' . $upcoming_mem_expires->count . ' soon expiring members' |
172 |
if $verbose; |
178 |
if $verbose; |
173 |
|
179 |
|
174 |
- |
|
|