I am using v1.1.14 and I have the following problem:
I have two related tables, writer and company, where writer has an ID, FULLNAME, COMPANY_ID which is a foreign key to ID of company that additionally has NAME. In the view.php for writer, I have the following code to display the company when viewing a writer:
The problem is, if the company name happens to be a valid function, it is evaluated but not displayed as is. So, for example, if the company is ‘Time’, I get a timestamp instead of the string ‘Time’.
How can I display the string and not the result of the function? Using single or double quotes doesn’t help.
nineinchnick, I’ve tried that, but still the same. And if I put ‘type’=>‘date’, the timestamp is formatted as a date, so it seems that first it is evaluated as function, then the format is applied.