From 0b6c6d4aa2a69b2f58bcd545ec86cb0d0d900eca Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Thu, 19 Jun 2014 13:53:45 +0200 Subject: [PATCH] CVars: spelling: dependant -> dependent (wir haben uns irgendwann mal auf AE geeinigt) --- SL/DB/CustomVariableConfig.pm | 2 +- SL/DB/Helper/CustomVariables.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.20.1