Recent tags won't work on certain locales
Recent tags won't work on certain locales
| Issue ID: | 661 |
| Issue Category: | bug |
| Component: | core |
| Priority: | normal |
| Status: | fixed |
| Assigned: | evan |
| Version: | 0.5 |
| Milestone: | 0.6 |
Some locales use comma as decimal sign. This causes SQL error in tag query. In this line (actions/tag.php):
{{{
$tags->selectAdd(sprintf('sum(exp(-(now() - notice.created)/%f)) as weight', common_config('tag', 'dropoff')));
}}}
%f should be replaced with %s, since the whole parameter is a string anyways

Updates
#1
Fixed.
You can also subscribe to the
RSS feed for updates to this issue.