From: Moritz Bunkus Date: Mon, 17 Mar 2014 15:13:37 +0000 (+0100) Subject: CustomVariable RDBO: falsches Dispatching für Boolean-Variablen gefixt X-Git-Tag: release-3.2.0beta~481 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=7f387728b8d32155fe7ec99d1789cb81f106a32c;p=kivitendo-erp.git CustomVariable RDBO: falsches Dispatching für Boolean-Variablen gefixt --- diff --git a/SL/DB/CustomVariable.pm b/SL/DB/CustomVariable.pm index 1d8b5c911..dd32ef9cb 100644 --- a/SL/DB/CustomVariable.pm +++ b/SL/DB/CustomVariable.pm @@ -15,7 +15,7 @@ sub value { my $self = $_[0]; my $type = $self->config->type; - goto &bool_value if $type eq 'boolean'; + goto &bool_value if $type eq 'bool'; goto ×tamp_value if $type eq 'timestamp'; goto &number_value if $type eq 'number';