Duplicate value using PHP code in the Table(MySQL query) - Report Designer

Post Reply
Aaront
Posts: 13
Joined: 27 May 2023, 12:04
Name: Aaron
Location: Christchurch
Company Name: Unicloud Ltd

Duplicate value using PHP code in the Table(MySQL query) - Report Designer

Post by Aaront »

Hi

I'm getting a duplicate value with "> for each cell inside a report designer Table (MySQL) using "PHP code" as the column type. It should be showing one value instead of duplicate value under one cell as shown in the two images attached.

below is a sample of the code I've used. It was all working well before the 3.4.4 update.

Code: Select all

else if ($item["overall_standards"] == 659){
    $output_value =  '<div class="bg-color-value" style="background-color:#0b8043; color:white">Competent</div>';
}

Cheers
Attachments
competent.PNG
competent.PNG (4.72 KiB) Viewed 894 times
competent working.PNG
competent working.PNG (2.98 KiB) Viewed 894 times
enishemed
Posts: 651
Joined: 30 Oct 2017, 11:24
Name: Enis Hemedoglu
Location: Istanbul, Turkey
Company Name: SCORE DANISMANLIK
Contact:

Re: Duplicate value using PHP code in the Table(MySQL query) - Report Designer

Post by enishemed »

Yes, I have the same problem
User avatar
support
Site Admin
Posts: 6222
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Duplicate value using PHP code in the Table(MySQL query) - Report Designer

Post by support »

Found issue. File from archive replace to plugins\ext\classes\report_page\
Let me know if it works ok now.
Attachments
blocks_table.zip
(6.48 KiB) Downloaded 31 times
Post Reply