Changeset 94502 in spip-zone


Ignore:
Timestamp:
Jan 7, 2016, 4:56:44 PM (5 years ago)
Author:
booz@…
Message:

compat php 7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/convertisseur/trunk/extract/quark.php

    r91570 r94502  
    110110
    111111        // co case = majuscules
    112         $c = preg_replace('/<Ko[(]"case","cpsp"[)]>([^<>]+)/imse', 'mb_strtoupper("\1")', $c);
     112        $c = preg_replace_callback('/<Ko[(]"case","cpsp"[)]>([^<>]+)/ims', function ($m){ return mb_strtoupper($m[1]); }, $c);
    113113
    114114        // virer tous les tags restants
Note: See TracChangeset for help on using the changeset viewer.