silence
Well-known member
Okay so I'm calling a reponseError with the following line in my ControllerPublic:
With the phrase as the following:
However, when the responseError displays, it shows up as:
Why isn't the {seconds} variable being changed?
Thanks!
Code:
// Check time interval for commenting
if ($commentPeriod = $model->commentFloodCheck() > 0)
{
return $this->responseError(new XenForo_Phrase('comment_interval_check'), 200, array('seconds' => $commentPeriod));
}
Code:
You are commenting too fast! Please wait {seconds} second(s).
Code:
You are commenting too fast! Please wait {seconds} second(s).
Thanks!