[ic] get_password action fix

Jonathan Clark jonc@webmaint.net
Sun, 3 Dec 2000 20:18:01 -0000


(ic 4.6.0 / RH6.2)

the email password feature from the Barry demo always produced an internal
server error for me and I have just worked out why.

The routine in catalog.cfg needs some very slight ammending:

from catalog.cfg:

ActionMap  get_password   <<EOR
sub {
 $Config->{NoSearch} = '';
 $CGI->{mv_nextpage} = $CGI->{mv_search_page} = 'action/get_password';
 $CGI->{mv_todo} = 'search';
 $Tag->update('process');
 return;
}
EOR


the last line should read:

return 1;

This feature is not in the Construct demo, but the routine is still there.

Cheers,

Jonathan.
Webmaint.