X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Flibs%2FReplacementArray.php;h=ea50a854b2eb8eed249697e77490a6ee9c8ffde0;hb=480ab87dbc2974ad9465af2808f21bf83397142e;hp=185914ceb0145371708952030bbd0ed5d805ed9b;hpb=d24b74ce2db24799dbaa2abe0277a48694ad2ebd;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/libs/ReplacementArray.php b/includes/libs/ReplacementArray.php index 185914ceb0..ea50a854b2 100644 --- a/includes/libs/ReplacementArray.php +++ b/includes/libs/ReplacementArray.php @@ -111,7 +111,10 @@ class ReplacementArray { * @return string */ public function replace( $subject ) { - if ( function_exists( 'fss_prep_replace' ) ) { + if ( + function_exists( 'fss_prep_replace' ) && + version_compare( PHP_VERSION, '5.5.0' ) < 0 + ) { if ( $this->fss === false ) { $this->fss = fss_prep_replace( $this->data ); }