diff options
| author | Nick Palmer <nick@sluggardy.net> | 2006-11-30 16:03:11 +0000 |
|---|---|---|
| committer | Nick Palmer <nick@sluggardy.net> | 2006-11-30 16:03:11 +0000 |
| commit | 1fdb6a4df5d668f17b91e01152a823b6a21b188a (patch) | |
| tree | d8204c7510cbcd26bfc73ff03b115ead0fe33c3e /smarty_bit/block.textarea.php | |
| parent | b1239726573f113a0df065fed840ec56e7b32619 (diff) | |
| download | kernel-1fdb6a4df5d668f17b91e01152a823b6a21b188a.tar.gz kernel-1fdb6a4df5d668f17b91e01152a823b6a21b188a.tar.bz2 kernel-1fdb6a4df5d668f17b91e01152a823b6a21b188a.zip | |
Fix bug when textarea contains no value to start with.
Diffstat (limited to 'smarty_bit/block.textarea.php')
| -rw-r--r-- | smarty_bit/block.textarea.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/smarty_bit/block.textarea.php b/smarty_bit/block.textarea.php index fc204c2..7fc93d0 100644 --- a/smarty_bit/block.textarea.php +++ b/smarty_bit/block.textarea.php @@ -20,7 +20,7 @@ function smarty_block_textarea($params, $content, &$smarty) { global $gBitSystem; - if ($content) { + if (isset($content)) { $out = '<textarea '; foreach ($params as $key => $value) { |
