X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FCustomVariable.pm;h=dd32ef9cbc404faf37136c911a9a88ba6efba4c0;hb=b2e1809f6b6d8852ab0086dcc61ae9540c18b83f;hp=1d8b5c9113221e4caf2581caace9a874b1334a47;hpb=65f528cb4455943bb2fb0ca2de5eace07212118b;p=kivitendo-erp.git 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';