Changeset 2338

Show
Ignore:
Timestamp:
05/15/08 01:48:17 (18 months ago)
Author:
takayama
Message:

Fixed BugId:79735
* Fixed to work

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-38/php/lib/function.mtcommentlink.php

    r2331 r2338  
    77 
    88function smarty_function_mtcommentlink($args, &$ctx) { 
     9    $c = $ctx->stash('comment'); 
    910    $args['no_anchor'] = 1; 
    1011    $entry_link = $ctx->tag('EntryPermalink', $args); 
    11     $entry_link .= '#comment-' . $ctx['comment_id']; 
    12     return $link; 
     12    $entry_link .= '#comment-' . $c['comment_id']; 
     13    return $entry_link; 
    1314}