Changeset 5626
- Timestamp:
- 03/24/08 14:26:56 (7 months ago)
- Files:
-
- 1 modified
-
trunk/lib/model/blog.comment.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/model/blog.comment.php
r5621 r5626 364 364 AND id = $entryId 365 365 AND draft = 0 366 AND visibility = 3 366 AND visibility = 3 367 367 AND acceptComment = 1")) { 368 368 requireComponent('Eolin.PHP.Core'); … … 850 850 $entry = (POD::queryRow("SELECT * FROM {$database['prefix']}Entries WHERE blogid = $blogid AND id={$comments['entry']}")); 851 851 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']); 854 854 }else{ 855 855 $r1_comment_check_url = rawurlencode("$defaultURL/" . ($blog['useSloganOnPost'] ? "entry/{$entry['slogan']}" : $entry['id']) . "#comment" . $parentComments['id']);
