Files
dolibarr/htdocs/user
Philippe Grand c4abb3f8c3 Fix: prevent "Cannot access offset of type string on string" in param_ihm.php (#35702)
* Fix: prevent "Cannot access offset of type string on string" in param_ihm.php

- Added validation to handle cases where $tmparray items are strings instead of arrays
- Normalized entries to ensure each item has a 'label' and 'picto' key
- Defaulted 'picto' to "generic" when missing
- Prevents fatal error under PHP 8 when accessing $val['label'] or $val['picto']

* fix codesniffer issue

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2025-10-11 15:30:52 +02:00
..
2025-10-01 17:04:30 +02:00
2025-09-18 11:40:56 +02:00
2025-07-31 22:13:45 +02:00
2025-05-10 14:06:51 +02:00
2025-10-03 09:20:09 +02:00
2025-08-21 16:12:03 +02:00
2025-09-08 01:48:52 +02:00
2025-02-18 21:10:53 +01:00
2024-11-10 11:16:23 +01:00
2025-05-10 14:06:51 +02:00
2025-08-20 18:25:24 +02:00
2025-03-03 10:02:08 +01:00