diff options
author | Peter Palfrader <peter@palfrader.org> | 2002-07-15 20:19:12 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2002-07-15 20:19:12 +0000 |
commit | ce7cabe5f8b02bfe6ad9dd400020e3ebd9a67578 (patch) | |
tree | 32cfd4fab28e925ec3fdf25e05f9e1b530b1f6a4 | |
parent | 8cc55d247f531756aad2822bb90f601fae294a31 (diff) |
Fix a bug reported by Bill O'Hanlon
-rw-r--r-- | Echolot/Thesaurus.pm | 6 | ||||
-rw-r--r-- | NEWS | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/Echolot/Thesaurus.pm b/Echolot/Thesaurus.pm index 230b322..b7d4a1b 100644 --- a/Echolot/Thesaurus.pm +++ b/Echolot/Thesaurus.pm @@ -1,7 +1,7 @@ package Echolot::Thesaurus; # (c) 2002 Peter Palfrader <peter@palfrader.org> -# $Id: Thesaurus.pm,v 1.7 2002/07/13 19:59:16 weasel Exp $ +# $Id: Thesaurus.pm,v 1.8 2002/07/15 20:18:29 weasel Exp $ # =pod @@ -61,8 +61,8 @@ sub build_thesaurus() { my ($id, $what) = $filename =~ /^(\d+)\.(adminkey|conf|help|key|stats)$/; next unless (defined $id && defined $what); - my $remailer = Echolot::Globals::get()->{'storage'}->get_address_by_id($id); - next return 0 unless defined $remailer; + my $remailer = Echolot::Globals::get()->{'storage'}->get_address_by_id($id); + next unless defined $remailer; my ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size, $atime,$mtime,$ctime,$blksize,$blocks) @@ -1,6 +1,8 @@ Changes in version * Added commands buildstats buildkeys and buildthesaurus * Added legend to templates (Orange) + * Thesaurus building failed when an id did not return a + valid remailer. A check was there bug it was wrong. Changes in version 2.0beta13 - 2002-07-13 * Have correct title tags and some layout changes in the HTML templates |