got it wrong - apparently no need to fix json slashes

This commit is contained in:
Friendika 2011-06-02 20:42:09 -07:00
parent 1eb177235b
commit 20d1de4ced
4 changed files with 5 additions and 4 deletions

View file

@ -44,7 +44,7 @@ function qsearch_init(&$a) {
$results[] = array( (int) $rr['id'], 0, $rr['name'],$rr['url'],$rr['photo']);
}
echo str_replace('\\/','/',json_encode((object) $results));
echo json_encode((object) $results);
killme();
}