Ignore:
Timestamp:
Nov 6, 2009, 8:55:26 AM (10 years ago)
Author:
pierre.fiches@…
Message:

sujet automatique plus valide, remplacement de eregi

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/clevermail/2_0/inc/clevermail_post_create.php

    r30383 r32700  
    1313          $post['pst_text'] = recuperer_page($url_text);
    1414          if (trim($post['pst_html']) != '' && trim($post['pst_text']) != '') {
    15                   if (eregi("<title>(.*)</title>", $post['pst_html'], $regs)) {
     15                  //if (eregi("<title>(.*)</title>", $post['pst_html'], $regs)) {
     16                  if (preg_match(",<title>(.*)</title>,", $post['pst_html'], $regs)) {
    1617                    $post['pst_subject'] = trim($regs[1]);
    1718                  } else {
Note: See TracChangeset for help on using the changeset viewer.