Yes, the employer can say anything as long as it is truthful.
"References must be accurate and shouldn't mislead the employer asking for them. This means that if, for example, you were disciplined when you worked for the employer who's giving you a reference, this may form part of the reference."