Changeset 51555 in spip-zone


Ignore:
Timestamp:
Sep 17, 2011, 4:00:52 PM (9 years ago)
Author:
dwojylac@…
Message:

ereg_replace déprécié qui causait un warning

File:
1 edited

Legend:

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

    r30117 r51555  
    1414
    1515function clevermail_chaine_email_en_tableau($adresses) {
    16   return array_unique(explode(' ', trim(ereg_replace("[,;\t\n\r ]+", " ", $adresses))));
     16        return array_unique(explode(' ', trim(preg_replace('`[,;\t\n\r ]+`', ' ', $adresses))));
    1717}
    1818
Note: See TracChangeset for help on using the changeset viewer.