From: Sam Reed Date: Wed, 26 Oct 2011 04:15:54 +0000 (+0000) Subject: Leave a fixme comment on context stuff X-Git-Tag: 1.31.0-rc.0~26907 X-Git-Url: http://git.cyclocoop.org/%24dirpuce/puce%24spip_lang_rtl.gif?a=commitdiff_plain;h=f6300aaeae8dfd00b08070174084e1d6a030e86f;p=lhc%2Fweb%2Fwiklou.git Leave a fixme comment on context stuff --- diff --git a/includes/context/DerivativeContext.php b/includes/context/DerivativeContext.php index fa0d6fee24..1ea52a218d 100644 --- a/includes/context/DerivativeContext.php +++ b/includes/context/DerivativeContext.php @@ -164,7 +164,7 @@ class DerivativeContext extends ContextSource { if ( $l instanceof Language ) { $this->lang = $l; } elseif ( is_string( $l ) ) { - $l = self::sanitizeLangCode( $l ); + $l = self::sanitizeLangCode( $l ); // FIXME: Undefined method, is at RequestContext::sanitizeLangCode() $obj = Language::factory( $l ); $this->lang = $obj; } else {