1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-24 14:31:42 +01:00

Fix salvataggio campi personalizzati

This commit is contained in:
valentina 2024-06-21 15:56:58 +02:00
parent a186a2ac5f
commit ae64b0f0d3

View File

@ -498,8 +498,8 @@ if ($structure->permission == 'rw') {
if (post('op') != 'delete') {
$values = [];
foreach ($customs as $custom) {
if (post($custom['name']) !== null) {
$values[$custom['id']] = post($custom['name']);
if (post($custom['title']) !== null) {
$values[$custom['id']] = post($custom['title']);
} else {
$values[$custom['id']] = '';
}