salesagility / SuiteCRM

SuiteCRM - Open source CRM for the world
https://www.suitecrm.com
GNU Affero General Public License v3.0
4.26k stars 2.03k forks source link

Bug with PHP8 when defining custom style in edit or detail view #10449

Open QuickCRM opened 2 weeks ago

QuickCRM commented 2 weeks ago

Issue

When you add a custom style in a detail or edit view, a PHP error is thrown in include/Smarty/plugins/block.minify.php due to undefined X example: 'customCode' => '<span style="background-color: lime;">@@FIELD@@</span>',

Possible Fix

No response

Steps to Reproduce the Issue

1. add a custom style to any field in any edit or detail view
2. run Repair / Quick Repair
3. open the view
...

Context

No response

Version

7.14

What browser are you currently using?

Chrome

Browser Version

Any

Environment Information

PHP 8.2

Operating System and Version

Any