Changeset 1555

Show
Ignore:
Timestamp:
02/16/08 16:32:01 (7 months ago)
Author:
renato
Message:

Fix #312. Anonymous users now display correctly the default icon in comments.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/mod/blog/lib/weblogs_posts_view.php

    r1540 r1555  
    196196                        $comment->body = run("weblogs:text:process", array($comment->body, false)); 
    197197                    } else { 
    198                         $comment->icon = "<img src=\"" . user_icon_html(-1,50) . "\" width=\"50\" height=\"50\" align=\"left\" alt=\"\" />"
     198                        $comment->icon = user_icon_html(-1,50)
    199199                        $comment->body = run("weblogs:text:process", array($comment->body, true)); 
    200200                    }