mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 04:15:12 +00:00
Merge branch 'master' of https://github.com/friendica/red
This commit is contained in:
commit
f290c4b1e4
3 changed files with 6 additions and 3 deletions
|
@ -197,7 +197,10 @@ require_once('include/items.php');
|
|||
case "json":
|
||||
header ("Content-Type: application/json");
|
||||
foreach($r as $rr)
|
||||
return json_encode($rr);
|
||||
$json = json_encode($rr);
|
||||
if ($_GET['callback'])
|
||||
$json = $_GET['callback']."(".$json.")";
|
||||
return $json;
|
||||
break;
|
||||
case "rss":
|
||||
header ("Content-Type: application/rss+xml");
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
2014-10-15.829
|
||||
2014-10-16.830
|
||||
|
|
Loading…
Reference in a new issue