Skip to content

Commit

Permalink
fixed handling of transactions and stream_wrapper options
Browse files Browse the repository at this point in the history
  • Loading branch information
lsmith77 committed Aug 15, 2011
1 parent 8358d85 commit 53d54c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Jackalope/Repository.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function __construct(Factory $factory = null, TransportInterface $transpo
{
$this->factory = is_null($factory) ? new Factory : $factory;
$this->transport = $transport;
$this->options = array_merge((array)$options, $this->options);
$this->options = array_merge($this->options, (array)$options);
$this->options['transactions'] = $this->options['transactions'] && $transport instanceof TransactionalTransportInterface;
// register a stream wrapper to lazily load binary property values
if (null === self::$binaryStreamWrapperRegistered) {
Expand Down

0 comments on commit 53d54c9

Please sign in to comment.