From: Moritz Bunkus Date: Mon, 27 Dec 2010 12:48:50 +0000 (+0100) Subject: textarea_tag: Content ging durch Verwechslung then/else verloren X-Git-Tag: release-2.6.2beta1~64^2~31 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=1a8f5fe00804e646222073bededd3c9cd5d792a9;p=kivitendo-erp.git textarea_tag: Content ging durch Verwechslung then/else verloren --- diff --git a/SL/Template/Plugin/L.pm b/SL/Template/Plugin/L.pm index aaff9ef20..ac31e3104 100644 --- a/SL/Template/Plugin/L.pm +++ b/SL/Template/Plugin/L.pm @@ -84,7 +84,7 @@ sub textarea_tag { my %attributes = _hashify(@_); $attributes{id} ||= $self->name_to_id($name); - $content = $content ? '' : _H($content); + $content = $content ? _H($content) : ''; return $self->html_tag('textarea', $content, %attributes, name => $name); }