jsonp support (thankxs fabrixxm)

This commit is contained in:
friendica
2014-10-16 02:02:11 -07:00
parent d4abc91d1f
commit e1f88fd15d
3 changed files with 6 additions and 3 deletions

View File

@@ -154,7 +154,7 @@ function tagadelic($uid, $count = 0, $authors = '', $flags = 0, $restrict = 0, $
}
function tags_sort($a,$b) {
if($a[0] == $b[0])
if(strtolower($a[0]) == strtolower($b[0]))
return 0;
return((strtolower($a[0]) < strtolower($b[0])) ? -1 : 1);
}