Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

small fix

  • Loading branch information...
commit c7d97c71470cf9ddd3d06dd8ed7847e3be779945 1 parent 23ffe63
@benib authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  web/api.php
View
3  web/api.php
@@ -216,8 +216,7 @@
}
$query = new MoreConnectionQuery($reference,$count,$direction);
$connections = $app['api']->findConnections($query, 'connections');
- $result = array('connections' => $connections['connections']);
- $result = array_merge($result,array('reference' => $connections['reference']));
+ $result = array('connections' => $connections['connections'], 'reference' => $connections['reference']);
return $app->json($result);
});
Please sign in to comment.
Something went wrong with that request. Please try again.