Ticket #1623 (closed defect: fixed)

Opened 2 months ago

Last modified 2 months ago

SGL_Emailer_Builder assumes customOutput class is present

Reported by: openhaus Assigned to: jcasanova
Priority: normal Milestone: 0.6.5
Component: SGL - Emailer Severity: open
Keywords: Email, Builder, Emailer Cc: dmitri

Description

Emailing fails with no warning if there is no custom output class defined in global config file.

lib/SGL/Emailer/Builder.php, line 218

    public static function prepareHtmlBody($aOpts)
    {
        $outputClass = SGL_Config::get('site.customOutputClassName');
        $oOutput     = new $outputClass();

Change History

05/16/08 06:31:54 changed by lakiboy

  • status changed from new to closed.
  • resolution set to fixed.

fixed in [3796]