Show
Ignore:
Timestamp:
03/24/08 14:26:56 (10 months ago)
Author:
inureyes
Message:

#852

  • 관련 확인 절차.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/lib/model/blog.comment.php

    r5621 r5626  
    364364            AND id = $entryId 
    365365            AND draft = 0 
    366             AND visibility = 3 
     366            AND visibility = 3  
    367367            AND acceptComment = 1")) { 
    368368        requireComponent('Eolin.PHP.Core'); 
     
    850850    $entry = (POD::queryRow("SELECT * FROM {$database['prefix']}Entries WHERE blogid = $blogid AND id={$comments['entry']}")); 
    851851    if( $entry['id'] == 0) { 
    852         $r1_comment_check_url = rawurlencode("$defaultURL/guestbook#comment" . $parentComments['id']); 
    853         $r2_comment_check_url = rawurlencode("$defaultURL/guestbook#comment" . $comments['id']); 
     852        $r1_comment_check_url = rawurlencode("$defaultURL/guestbook/".$parentComments['id']."#guestbook".$parentComments['id']); 
     853        $r2_comment_check_url = rawurlencode("$defaultURL/guestbook/".$comments['id']."#guestbook".$comments['id']); 
    854854    }else{ 
    855855        $r1_comment_check_url = rawurlencode("$defaultURL/" . ($blog['useSloganOnPost'] ? "entry/{$entry['slogan']}" : $entry['id']) . "#comment" . $parentComments['id']);