format_tags_string: fix typo
This commit is contained in:
parent
37cc6df067
commit
67f4fe1780
|
@ -3412,7 +3412,7 @@
|
||||||
$maxtags = min(5, count($tags));
|
$maxtags = min(5, count($tags));
|
||||||
|
|
||||||
for ($i = 0; $i < $maxtags; $i++) {
|
for ($i = 0; $i < $maxtags; $i++) {
|
||||||
$tags_str .= "<a class=\"tag\" href=\"#\" onclick=\"viewfeed('".$tags[$i]."'\")>" . $tags[$i] . "</a>, ";
|
$tags_str .= "<a class=\"tag\" href=\"#\" onclick=\"viewfeed('".$tags[$i]."')\">" . $tags[$i] . "</a>, ";
|
||||||
}
|
}
|
||||||
|
|
||||||
$tags_str = mb_substr($tags_str, 0, mb_strlen($tags_str)-2);
|
$tags_str = mb_substr($tags_str, 0, mb_strlen($tags_str)-2);
|
||||||
|
|
Loading…
Reference in New Issue