Revision 2bfb8a50
Von Moritz Bunkus vor fast 14 Jahren hinzugefügt
SL/CVar.pm | ||
---|---|---|
338 | 338 |
|
339 | 339 |
do_statement($form, $sth, $query, @values); |
340 | 340 |
|
341 |
my $valid_index = "$params{name_prefix}cvar_$config->{name}$params{name_postfix}_valid"; |
|
342 |
$self->save_custom_variables_validity(trans_id => $params{trans_id}, config_id => $config->{id}, |
|
343 |
validity => ($params{variables}{$valid_index} || $params{always_valid} ? 1 : 0) |
|
344 |
); |
|
341 |
if ($params{save_validity}) { |
|
342 |
my $valid_index = "$params{name_prefix}cvar_$config->{name}$params{name_postfix}_valid"; |
|
343 |
$self->save_custom_variables_validity(trans_id => $params{trans_id}, |
|
344 |
config_id => $config->{id}, |
|
345 |
validity => ($params{variables}{$valid_index} || $params{always_valid} ? 1 : 0) |
|
346 |
); |
|
347 |
} |
|
345 | 348 |
} |
346 | 349 |
|
347 | 350 |
$sth->finish(); |
Auch abrufbar als: Unified diff
Gültigkeit von custom variables nur für Artikelstammdaten speichern
Fix für Bug 1561.