Skip to content

Commit

Permalink
Merge pull request zetacomponents#64 from PHPGangsta/patch-2
Browse files Browse the repository at this point in the history
Fixed two implode() calls (wrong parameter order)
  • Loading branch information
derickr committed Mar 7, 2018
2 parents 5205b2c + 018171f commit b4c4b88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/transports/imap/imap_transport.php
Expand Up @@ -1089,7 +1089,7 @@ public function fetchSizes( $messages )
}

$sizes = array();
$ids = implode( $messages, ',' );
$ids = implode( ',', $messages );

$tag = $this->getNextTag();
$this->connection->sendData( "{$tag} {$uid}FETCH {$ids} (RFC822.SIZE)" );
Expand Down Expand Up @@ -2035,7 +2035,7 @@ public function fetchFlags( $messages )
}

$flags = array();
$ids = implode( $messages, ',' );
$ids = implode( ',', $messages );

$tag = $this->getNextTag();
$this->connection->sendData( "{$tag} {$uid}FETCH {$ids} (FLAGS)" );
Expand Down

0 comments on commit b4c4b88

Please sign in to comment.