diff options
| author | wjames5 <will@tekimaki.com> | 2008-06-18 19:45:26 +0000 |
|---|---|---|
| committer | wjames5 <will@tekimaki.com> | 2008-06-18 19:45:26 +0000 |
| commit | c088a39d8fa18d70fa274bd6db7dd999f34b0d8c (patch) | |
| tree | 191168f19f413a6fe892aa0af2d153544b6733c5 /smarty_bit/block.textarea.php | |
| parent | f28f70c000358d3395e9a32f6667d67bd1ad1bc5 (diff) | |
| download | kernel-c088a39d8fa18d70fa274bd6db7dd999f34b0d8c.tar.gz kernel-c088a39d8fa18d70fa274bd6db7dd999f34b0d8c.tar.bz2 kernel-c088a39d8fa18d70fa274bd6db7dd999f34b0d8c.zip | |
move name default assignment out of id check - that made no sense
Diffstat (limited to 'smarty_bit/block.textarea.php')
| -rw-r--r-- | smarty_bit/block.textarea.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/smarty_bit/block.textarea.php b/smarty_bit/block.textarea.php index 7e918eb..5b5cca2 100644 --- a/smarty_bit/block.textarea.php +++ b/smarty_bit/block.textarea.php @@ -32,6 +32,8 @@ function smarty_block_textarea( $pParams, $pContent, &$gBitSmarty ) { } if (empty($pParams['id'])) { $pParams['id'] = LIBERTY_TEXT_AREA; + } + if( empty( $pParams['name'] ) ){ $pParams['name'] = 'edit'; } foreach ($pParams as $_key=>$_value) { |
