hack so that searching for 'a' doesn't list 'A' as an addable tag

git-svn-id: file:///home/shish/svn/shimmie2/trunk@689 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2008-01-05 00:17:12 +00:00
parent 4f58884187
commit 0c639c1861

View File

@ -116,6 +116,9 @@ class TagListTheme extends Themelet {
}
protected function ars($tag, $tags) {
// FIXME: a better fix would be to make sure the inputs are correct
$tag = strtolower($tag);
$tags = array_map("strtolower", $tags);
$html = "";
$html .= " <span class='ars'>(";
$html .= $this->get_add_link($tags, $tag);