public
Description: The ultra-lightweight ultra-flexible blogging engine with a fetish for birds and misspellings.
Homepage: http://chyrp.net/
Clone URL: git://github.com/vito/chyrp.git
Click here to lend your support to: chyrp and make a donation at www.pledgie.com !
* Fixed Tagginator + Bookmarklet.
* Fixed viewing a post's comments feed.
vito (author)
Sun Nov 09 18:00:03 -0800 2008
commit  86afc2878f6cc1596788c51f7bd389e596b2bb0a
tree    5826f9ea7ac8d949b5c4a96208149d16a5e30e4b
parent  be6af1669a2ee60d574010a189872d19bd02cfdc
...
596
597
598
599
600
601
602
603
604
 
605
606
607
...
596
597
598
 
 
 
 
 
 
599
600
601
602
0
@@ -596,12 +596,7 @@
0
 
0
             $title = _f("Comments on “%s”", array(fix($title)), "comments");
0
 
0
-            $ids = array_reverse($post->comments->array[0]);
0
-
0
-            $comments = array();
0
-            for ($i = 0; $i < 20; $i++)
0
-                if (isset($ids[$i]))
0
-                    $comments[] = new Comment(null, array("read_from" => $ids[$i]));
0
+            $comments = $post->comments;
0
 
0
             require "pages/comments_feed.php";
0
         }
...
72
73
74
75
 
76
77
78
...
72
73
74
 
75
76
77
78
0
@@ -72,7 +72,7 @@
0
                         $paragraph = preg_replace("/(\s|^)#([^ .,]+)(?!#)/", "\\1\\2", $paragraph);
0
                     }
0
 
0
-                $value = str_replace("\\#", "#", implode($mode, $paragraphs));
0
+                $value = str_replace("\\#", "#", implode($rejoin, $paragraphs));
0
             }
0
 
0
             $_POST['tags'] = implode(", ", $tags);

Comments