Changeset 30
- Timestamp:
- 12/18/06 19:18:46 (2 years ago)
- Files:
-
- akismet/lib.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
akismet/lib.php
r29 r30 65 65 66 66 // Generate the post URL 67 $url = $CFG->wwwroot . user_info("username", $post->weblog) . "/weblog/" . $post->ident . ".html"; 67 if (!isset($object->comment_type)) { 68 $object->comment_type = "weblog"; 69 } 70 switch($object->comment_type) { 71 case "weblog": 72 $url = $CFG->wwwroot . user_info("username", $post->weblog) . "/". $object->comment_type ."/" . $post->ident . ".html"; 73 break; 74 } 68 75 69 76 // Initialise Akismet
