Changeset c1b81f5 in github for program/steps/mail/func.inc


Ignore:
Timestamp:
Jul 22, 2008 5:52:29 AM (5 years ago)
Author:
alecpl <alec@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
4897adc
Parents:
9103d17
Message:

PHP bug #32547 workaround: remove <title> tag because of libxml2 library problem (#1485178)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/steps/mail/func.inc

    r9103d17 rc1b81f5  
    564564      $html = substr_replace($html, '<meta http-equiv="Content-Type" content="text/html; charset='.RCMAIL_CHARSET.'" />', intval(stripos($html, '</head>')), 0); 
    565565    } 
    566      
     566 
     567    // PHP bug #32547 workaround: remove title tag 
     568    $html = preg_replace('/<title>.*<\/title>/', '', $html); 
     569 
    567570    // clean HTML with washhtml by Frederic Motte 
    568571    $wash_opts = array( 
Note: See TracChangeset for help on using the changeset viewer.