-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Uh, definitely not, sorry. Removing immediately.
On 29/03/11 03:00, Mike Hafen wrote: > I think that you probably don't want that 'die ...' in there. > > On Tue, Mar 22, 2011 at 12:08 AM, Srdjan Jankovic > <srd...@catalyst.net.nz <mailto:srd...@catalyst.net.nz>> wrote: > > diff --git a/misc/cronjobs/advance_notices.pl > <http://advance_notices.pl> b/misc/cronjobs/advance_notices.pl > <http://advance_notices.pl> > index 6a408e4..eb5071a 100755 > --- a/misc/cronjobs/advance_notices.pl <http://advance_notices.pl> > +++ b/misc/cronjobs/advance_notices.pl <http://advance_notices.pl> > > [snip] > > @@ -135,10 +132,15 @@ SELECT biblio.*, items.*, issues.* > AND (TO_DAYS(date_due)-TO_DAYS(NOW()) = ?) > END_SQL > > +my $admin_adress = > C4::Context->preference('KohaAdminEmailAddress'); > + > UPCOMINGITEM: foreach my $upcoming ( @$upcoming_dues ) { > warn 'examining ' . $upcoming->{'itemnumber'} . ' upcoming > due items' if $verbose; > # warn( Data::Dumper->Dump( [ $upcoming ], [ 'overdue' ] ) ); > > + my $from_address = $upcoming->{branchemail} || $admin_adress; > + die Dumper($upcoming); > + > my $letter; > my $borrower_preferences; > if ( 0 == $upcoming->{'days_until_due'} ) { > > [snip] > > -- > 1.6.5 > > _______________________________________________ > Koha-patches mailing list > Koha-patches@lists.koha-community.org > <mailto:Koha-patches@lists.koha-community.org> > http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches > website : http://www.koha-community.org/ > git : http://git.koha-community.org/ > bugs : http://bugs.koha-community.org/ > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk2RFfgACgkQX6p/D9UE7dwd5gCghxL3aBms7No7Zr1RIiFwrgkG ADsAnjYTbiD8I5JypL4KI4l+81vNAzS3 =G0cn -----END PGP SIGNATURE----- _______________________________________________ Koha-patches mailing list Koha-patches@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/