projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
CVars: beim Autovivifien gültigen Wert für selects forçieren
[kivitendo-erp.git]
/
SL
/
DB
/
Helper
/
CustomVariables.pm
diff --git
a/SL/DB/Helper/CustomVariables.pm
b/SL/DB/Helper/CustomVariables.pm
index
737c163
..
921e707
100644
(file)
--- a/
SL/DB/Helper/CustomVariables.pm
+++ b/
SL/DB/Helper/CustomVariables.pm
@@
-196,7
+196,7
@@
sub _new_cvar {
# value needs config
$inherited_value
? $cvar->value($inherited_value)
- : $cvar->value($params{config}->default_value);
+ : $cvar->value($params{config}->
type_dependant_
default_value);
return $cvar;
}