From 7fcaf851f11f4a4649fe3af72b9fddb513ed4e06 Mon Sep 17 00:00:00 2001 From: Shish Date: Mon, 11 May 2009 03:46:18 -0700 Subject: [PATCH] a couple of changes from master --- ext/bbcode/test.php | 2 +- ext/tag_list/main.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/bbcode/test.php b/ext/bbcode/test.php index 016a428d..d396e0d0 100644 --- a/ext/bbcode/test.php +++ b/ext/bbcode/test.php @@ -46,7 +46,7 @@ class BBCodeUnitTest extends UnitTestCase { } private function filter($in) { - $bb = new WordFilter(); + $bb = new BBCode(); $tfe = new TextFormattingEvent($in); $bb->receive_event($tfe); return $tfe->formatted; diff --git a/ext/tag_list/main.php b/ext/tag_list/main.php index 47699966..36685550 100644 --- a/ext/tag_list/main.php +++ b/ext/tag_list/main.php @@ -136,7 +136,7 @@ class TagList implements Extension { $tag_data = $result->GetArray(); $html = ""; - $lastLetter = 0; + $lastLetter = ""; foreach($tag_data as $row) { $h_tag = html_escape($row['tag']); $count = $row['count'];