Fill in default if no custom fields

This commit is contained in:
Miles Lott 2001-03-29 02:55:11 +00:00
parent 5acca29f4d
commit 7ffd9c2858

View File

@ -525,10 +525,11 @@
$t->set_var('cats_link',$cats_link); $t->set_var('cats_link',$cats_link);
if ($customfields) { if ($customfields) {
$t->set_var('lang_custom',lang('Custom Fields').':'); $t->set_var('lang_custom',lang('Custom Fields').':');
$t->set_var("custom",$custom);
} else { } else {
$t->set_var("lang_custom",''); $t->set_var("lang_custom",'');
$t->set_var("custom",'');
} }
$t->set_var("custom",$custom);
$t->parse("out","form"); $t->parse("out","form");
$t->pparse("out","form"); $t->pparse("out","form");