mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-16 19:40:44 +01:00
Fix salvataggio campi personalizzati
This commit is contained in:
parent
a186a2ac5f
commit
ae64b0f0d3
@ -498,8 +498,8 @@ if ($structure->permission == 'rw') {
|
|||||||
if (post('op') != 'delete') {
|
if (post('op') != 'delete') {
|
||||||
$values = [];
|
$values = [];
|
||||||
foreach ($customs as $custom) {
|
foreach ($customs as $custom) {
|
||||||
if (post($custom['name']) !== null) {
|
if (post($custom['title']) !== null) {
|
||||||
$values[$custom['id']] = post($custom['name']);
|
$values[$custom['id']] = post($custom['title']);
|
||||||
} else {
|
} else {
|
||||||
$values[$custom['id']] = '';
|
$values[$custom['id']] = '';
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user