From 1a8f5fe00804e646222073bededd3c9cd5d792a9 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 27 Dec 2010 13:48:50 +0100 Subject: [PATCH] textarea_tag: Content ging durch Verwechslung then/else verloren --- SL/Template/Plugin/L.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.20.1