Revision a5a7ff06
Von Sven Schöling vor etwa 15 Jahren hinzugefügt
SL/CT.pm | ||
---|---|---|
446 | 446 |
CVar->save_custom_variables('dbh' => $dbh, |
447 | 447 |
'module' => 'CT', |
448 | 448 |
'trans_id' => $form->{id}, |
449 |
'variables' => $form); |
|
449 |
'variables' => $form, |
|
450 |
'always_valid' => 1); |
|
450 | 451 |
|
451 | 452 |
$rc = $dbh->commit(); |
452 | 453 |
$dbh->disconnect(); |
... | ... | |
651 | 652 |
CVar->save_custom_variables('dbh' => $dbh, |
652 | 653 |
'module' => 'CT', |
653 | 654 |
'trans_id' => $form->{id}, |
654 |
'variables' => $form); |
|
655 |
'variables' => $form, |
|
656 |
'always_valid' => 1); |
|
655 | 657 |
|
656 | 658 |
$rc = $dbh->commit(); |
657 | 659 |
$dbh->disconnect(); |
SL/CVar.pm | ||
---|---|---|
334 | 334 |
|
335 | 335 |
do_statement($form, $sth, $query, @values); |
336 | 336 |
|
337 |
$self->save_custom_variables_validity(trans_id => $params{trans_id}, config_id => $config->{id}, |
|
338 |
validity => ($params{variables}->{"$params{name_prefix}cvar_$config->{name}$params{name_postfix}_valid"} ? 1 : 0) |
|
339 |
); |
|
337 |
unless ($params{always_valid}) { |
|
338 |
$self->save_custom_variables_validity(trans_id => $params{trans_id}, config_id => $config->{id}, |
|
339 |
validity => ($params{variables}->{"$params{name_prefix}cvar_$config->{name}$params{name_postfix}_valid"} ? 1 : 0) |
|
340 |
); |
|
341 |
}; |
|
340 | 342 |
} |
341 | 343 |
|
342 | 344 |
$sth->finish(); |
Auch abrufbar als: Unified diff
Bei Kunden die Validität nicht speichern.
Fix für Bug 1191