a couple of changes from master

This commit is contained in:
Shish 2009-05-11 03:46:18 -07:00
parent bc23362bda
commit 7fcaf851f1
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ class BBCodeUnitTest extends UnitTestCase {
} }
private function filter($in) { private function filter($in) {
$bb = new WordFilter(); $bb = new BBCode();
$tfe = new TextFormattingEvent($in); $tfe = new TextFormattingEvent($in);
$bb->receive_event($tfe); $bb->receive_event($tfe);
return $tfe->formatted; return $tfe->formatted;

View File

@ -136,7 +136,7 @@ class TagList implements Extension {
$tag_data = $result->GetArray(); $tag_data = $result->GetArray();
$html = ""; $html = "";
$lastLetter = 0; $lastLetter = "";
foreach($tag_data as $row) { foreach($tag_data as $row) {
$h_tag = html_escape($row['tag']); $h_tag = html_escape($row['tag']);
$count = $row['count']; $count = $row['count'];