Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Protocol/Imap.php
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ public function fetch($items, $from, $to = null)
$set = (int) $from . ':' . (int)$to;
}

$items = (array)$items;
$items = (array) $items;
$itemList = $this->escapeList($items);

$tag = null; // define $tag variable before first use
Expand Down
2 changes: 1 addition & 1 deletion src/Storage/Imap.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function countMessages($flags = null)
}

$params = array();
foreach ((array)$flags as $flag) {
foreach ((array) $flags as $flag) {
if (isset(self::$searchFlags[$flag])) {
$params[] = self::$searchFlags[$flag];
} else {
Expand Down

0 comments on commit de6ba8b

Please sign in to comment.