Skip to content
This repository
Browse code

Merge pull request #103 from mbiagetti/master

Resolve issue #102
  • Loading branch information...
commit 913c061c3bf96fd1d64f762526df5bb56cb7bd37 2 parents 5083267 + ca51051
Alvaro Videla authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  RabbitMq/BaseAmqp.php
2  RabbitMq/BaseAmqp.php
@@ -131,7 +131,7 @@ protected function queueDeclare()
131 131 $this->queueOptions['auto_delete'], $this->queueOptions['nowait'],
132 132 $this->queueOptions['arguments'], $this->queueOptions['ticket']);
133 133
134   - if (count($this->queueOptions['routing_keys']) > 0) {
  134 + if (isset($this->queueOptions['routing_keys']) && count($this->queueOptions['routing_keys']) > 0) {
135 135 foreach ($this->queueOptions['routing_keys'] as $routingKey) {
136 136 $this->ch->queue_bind($queueName, $this->exchangeOptions['name'], $routingKey);
137 137 }

0 comments on commit 913c061

Please sign in to comment.
Something went wrong with that request. Please try again.