diff --git a/mod/match.php b/mod/match.php
index ce2ece428c..58c81a0cdd 100644
--- a/mod/match.php
+++ b/mod/match.php
@@ -24,13 +24,13 @@ function match_content(&$a) {
$x = post_url('http://dir.friendika.com/msearch', $params);
+
$j = json_decode($x);
if(count($j)) {
-
-
foreach($j as $jj) {
- $o .= '' . '' . $jj[0] . '';
+
+ $o .= '' . '' . $jj->name . '';
}
}
else {