summaryrefslogtreecommitdiff
path: root/templates/edit_blog.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/edit_blog.tpl')
-rw-r--r--templates/edit_blog.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/edit_blog.tpl b/templates/edit_blog.tpl
index fc76acf..b334141 100644
--- a/templates/edit_blog.tpl
+++ b/templates/edit_blog.tpl
@@ -35,7 +35,7 @@
{/forminput}
</div>
- {textarea}{if $edit}{$edit}{else}{$gContent->getField('data')}{/if}{/textarea}
+ {textarea edit=$edit|default:$gContent->getField('data')}
<div class="control-group">
{formlabel label="Number of posts to show" for="max_posts"}