/[Search-Estraier]/trunk/lib/Search/Estraier.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/lib/Search/Estraier.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 166 by dpavlin, Sun Aug 6 12:48:02 2006 UTC revision 168 by dpavlin, Sun Aug 6 16:42:06 2006 UTC
# Line 1353  sub _fetch_doc { Line 1353  sub _fetch_doc {
1353          $path = '/etch_doc' if ($a->{etch});          $path = '/etch_doc' if ($a->{etch});
1354    
1355          if ($a->{id}) {          if ($a->{id}) {
1356                  croak "id must be numberm not '$a->{id}'" unless ($a->{id} =~ m/^\d+$/);                  croak "id must be number not '$a->{id}'" unless ($a->{id} =~ m/^\d+$/);
1357                  $arg = 'id=' . $a->{id};                  $arg = 'id=' . $a->{id};
1358          } elsif ($a->{uri}) {          } elsif ($a->{uri}) {
1359                  $arg = 'uri=' . uri_escape($a->{uri});                  $arg = 'uri=' . uri_escape($a->{uri});

Legend:
Removed from v.166  
changed lines
  Added in v.168

  ViewVC Help
Powered by ViewVC 1.1.26