Changeset 11000 for trunk/gsdl


Ignore:
Timestamp:
2005-12-19T09:54:03+13:00 (18 years ago)
Author:
mdewsnip
Message:

Added gsdl_cgi parameter to send_mail to prevent undefined error.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/cgi-bin/gliserver

    r10791 r11000  
    649649    elsif ($mail_enabled) {
    650650    if ($script eq "buildcol.pl") {
    651         &send_mail("Remote Greenstone building event", "Build of collection '$collection' complete.");
     651        &send_mail($gsdl_cgi, "Remote Greenstone building event", "Build of collection '$collection' complete.");
    652652    }
    653653    }
     
    759759sub send_mail
    760760{
     761    my $gsdl_cgi = shift(@_);
    761762    my $mail_subject = shift(@_);
    762763    my $mail_content = shift(@_);
Note: See TracChangeset for help on using the changeset viewer.