From: Sven Schöling Date: Thu, 19 Jun 2014 11:53:45 +0000 (+0200) Subject: CVars: spelling: dependant -> dependent (wir haben uns irgendwann mal auf AE geeinigt) X-Git-Tag: release-3.2.0beta~411^2~51 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=0b6c6d4aa2a69b2f58bcd545ec86cb0d0d900eca;p=kivitendo-erp.git CVars: spelling: dependant -> dependent (wir haben uns irgendwann mal auf AE geeinigt) --- diff --git a/SL/DB/CustomVariableConfig.pm b/SL/DB/CustomVariableConfig.pm index 32b0b1c17..2cc4e6a90 100644 --- a/SL/DB/CustomVariableConfig.pm +++ b/SL/DB/CustomVariableConfig.pm @@ -89,7 +89,7 @@ sub has_flag { return $self->processed_flags()->{$flag}; } -sub type_dependant_default_value { +sub type_dependent_default_value { my ($self) = @_; return $self->default_value if $self->type ne 'select'; diff --git a/SL/DB/Helper/CustomVariables.pm b/SL/DB/Helper/CustomVariables.pm index 921e70723..713685519 100644 --- 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}->type_dependant_default_value); + : $cvar->value($params{config}->type_dependent_default_value); return $cvar; }