{if $comment.userid !='' && $comment.userid!=0} {assign var=comm_user value=$userquery->get_user_details($comment.userid)} {/if}