Changeset 31726 in spip-zone


Ignore:
Timestamp:
Sep 22, 2009, 12:25:22 PM (10 years ago)
Author:
patfr@…
Message:

stripos pose une erreur sous de trop vieux PHPs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/couteau_suisse/outils/en_travaux_options.php

    r31682 r31726  
    6161        . http_img_pack('warning-24.gif', _T('info_travaux_titre'), 'align="absmiddle"')
    6262        . ' &nbsp;'. _T('info_travaux_titre') . '</div>';
    63         if (!$pos = stripos($flux, '</body>')) $pos = strlen($flux);
     63        if (!$pos = strpos($flux, '</body>')) $pos = strlen($flux);
    6464        return substr_replace($flux, $res, $pos, 0);
    6565}
Note: See TracChangeset for help on using the changeset viewer.