That's because vbphrase is not a function. It's a variable.
In any case, I figured out a way to solve the problem. Instead of :
standard_error($vbphrase['blockpostbop5']);
I used:
$errormessage=construct_phrase($vbphrase['blockpostbop5'], $non_censored, $censored);
standard_error($errormessage);
Of course, I have edited your phrase accordingly and added {1} and {2} for the two parameters.
Joe, many thanks for your help, appreciated!
|