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

@ -694,6 +694,7 @@
);
if (isset($params['content']) && is_array($params['content']) && $params['content']) {
//foreach ($params['entry'] as $k => $val)
$smarty->assign(array_change_key_case($params['content'], CASE_LOWER));
@ -724,6 +725,7 @@
$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>