should fix the commslock bug without new issues (crossing fingers)

This commit is contained in:
real_nowhereman 2008-03-12 14:13:11 +00:00
parent 6fca3df0bb
commit d249400e85
2 changed files with 5 additions and 3 deletions

View File

@ -692,7 +692,8 @@
'ip-address'=>''
)
);
if (isset($params['content']) && is_array($params['content']) && $params['content']) {
//foreach ($params['entry'] as $k => $val)
@ -723,7 +724,8 @@
$smarty->assign_by_ref($k, $entry[$k]);
$smarty->assign_by_ref('id', $id);
$smarty->assign('entry_commslock', @in_array('commslock',$entry['categories']));
do_action('entry_block');

View File

@ -1,4 +1,4 @@
{if !in_array('commslock',$categories)}
{if !$entry_commslock}
{*<p><big><strong>{$lang.comments.commslock}</strong></big></p>else*}
<h4>{$lang.comments.head}</h4>
<p>{$lang.comments.descr}</p>