X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Flibs%2FStringUtils.php;h=9638706dc22b7cd4490bbc128b5246f1e5f0fa96;hb=fde622206fe042b50f344de04e5a5fbfa6350ebb;hp=cffb5a39457a2b4f09a35e8aa1e8ed9716c13622;hpb=b9078fdf1e7bd9cdaaa047876e3e9cc416e99653;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/libs/StringUtils.php b/includes/libs/StringUtils.php index cffb5a3945..9638706dc2 100644 --- a/includes/libs/StringUtils.php +++ b/includes/libs/StringUtils.php @@ -276,7 +276,7 @@ class StringUtils { // Replace instances of the separator inside HTML-like tags with the placeholder $replacer = new DoubleReplacer( $separator, $placeholder ); - $cleaned = StringUtils::delimiterReplaceCallback( '<', '>', $replacer->cb(), $text ); + $cleaned = self::delimiterReplaceCallback( '<', '>', $replacer->cb(), $text ); // Explode, then put the replaced separators back in $items = explode( $separator, $cleaned ); @@ -303,7 +303,7 @@ class StringUtils { // Replace instances of the separator inside HTML-like tags with the placeholder $replacer = new DoubleReplacer( $search, $placeholder ); - $cleaned = StringUtils::delimiterReplaceCallback( '<', '>', $replacer->cb(), $text ); + $cleaned = self::delimiterReplaceCallback( '<', '>', $replacer->cb(), $text ); // Explode, then put the replaced separators back in $cleaned = str_replace( $search, $replace, $cleaned );