We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29b53b4 commit 8904778Copy full SHA for 8904778
lib/triagens/ArangoDb/Graph.php
@@ -264,14 +264,15 @@ private function getSingleUndirectedRelation() {
264
$ed = $this->getEdgeDefinitions();
265
if (count($ed) > 0) {
266
$a = $ed[0];
267
+ $b = $a->getFromCollections();
268
+ $c = $a->getToCollections();
269
}
270
if (count($ed) > 1 ||
271
(
272
count($ed) === 1 && (
273
count($a->getFromCollections()) > 1 ||
274
count($a->getToCollections()) > 1 ||
- $a->getFromCollections()[0] !==
- $a->getToCollections()[0]
275
+ $b[0] !== $c[0]
276
277
)
278
0 commit comments