Skip to content

Commit 15bb506

Browse files
committed
This got accidentally thrown out in a merge and was causing an error when trying to create a collection while saving a document.
1 parent aabe19a commit 15bb506

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/triagens/ArangoDb/CollectionHandler.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,9 @@ public function create($collection, $options = array())
443443
$collection = new Collection();
444444
$collection->setName($name);
445445
foreach ($options as $key => $value) {
446+
if ($key === 'createCollection') {
447+
continue;
448+
}
446449
$collection->{'set' . ucfirst($key)}($value);
447450
}
448451
}

0 commit comments

Comments
 (0)