XF 2.1 phraseDeferred + phrase + $var as array, {$var} in phrase

Robert9

Well-known member
PHP:
return $this->something->error(\XF::phraseDeferred('this_is_a_phrase', ['var'=>$var]));
I have checked $var, it is not empty.
I have checked the phrase, it is shown.
I have used {$var} inside the phrase, but it is not shown.

May someone has a hint for me, please?
 
Back
Top Bottom