X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=includes%2Fhtmlform%2FHTMLAutoCompleteSelectField.php;h=76a88d512135bd24b9fae42249ced3dfbc0b9d0a;hb=687dc7cf57bdc74a80b2ae3176cda1facd535ee9;hp=6606ca3833f11fa5cc529e82c2cec3e0039d870d;hpb=327f0a9f6f1d6a80ae5b3c741340efb172b75432;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/htmlform/HTMLAutoCompleteSelectField.php b/includes/htmlform/HTMLAutoCompleteSelectField.php index 6606ca3833..76a88d5121 100644 --- a/includes/htmlform/HTMLAutoCompleteSelectField.php +++ b/includes/htmlform/HTMLAutoCompleteSelectField.php @@ -53,7 +53,7 @@ class HTMLAutoCompleteSelectField extends HTMLTextField { $this->getOptions(); if ( $this->mOptions && !in_array( 'other', $this->mOptions, true ) ) { if ( isset( $params['other-message'] ) ) { - $msg = wfMessage( $params['other-message'] )->text(); + $msg = $this->getMessage( $params['other-message'] )->text(); } elseif ( isset( $params['other'] ) ) { $msg = $params['other']; } else {