Changeset 11814


Ignore:
Timestamp:
Jul 22, 2011, 4:10:28 PM (13 years ago)
Author:
cljosse
Message:

[extensions] set_plugins

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Mail_supervisor/main.inc.php

    r11813 r11814  
    202202      // Format TEXTE
    203203      //======================================================
    204       if($args['content_format'] == 'text/plain' &&  $args['email_format'] == 'text/plain'){
     204      if(isset($args['content_format']) &&
     205       isset($args['email_format']) &&
     206       $args['content_format'] == 'text/plain'
     207       &&  $args['email_format'] == 'text/plain'){
    205208       $pattern ="/" . preg_quote("Content-Type: multipart/alternative", '/')."/" ;       
    206209       $headers= preg_replace($pattern, "Content-type: text/plain",$headers); //format text
     
    208211        $cache_key = $args['email_format'].'-'.$lang_info['code'].'-'.$args['theme'];
    209212        $content.= $conf_mail[$cache_key]['footer'];
    210 
    211213        }
    212214      //======================================================
Note: See TracChangeset for help on using the changeset viewer.