X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Flibs%2FReplacementArray.php;h=b6faa3786d18eff94819fc6f9e6de30ce0f0e3ae;hb=b1ef4a066aa21858d2fccf3982bfcdbe641b7f92;hp=185914ceb0145371708952030bbd0ed5d805ed9b;hpb=f873b499650ef5d27570f9cb96d01d1477f9e089;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/libs/ReplacementArray.php b/includes/libs/ReplacementArray.php index 185914ceb0..b6faa3786d 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 ); }