Skip to content

Commit

Permalink
Merge pull request #4 from Elektroshop/main
Browse files Browse the repository at this point in the history
from Elektroshop/php-imap2
  • Loading branch information
fatihfth authored Feb 12, 2023
2 parents 6c81cc8 + 949ea23 commit 1dd8d5e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ public static function expunge($imap)
* @param $flag
* @param $options
*
* @return bool|void
* @return bool
*/
public static function setFlagFull($imap, $sequence, $flag, $options = 0)
{
Expand All @@ -466,9 +466,7 @@ public static function setFlagFull($imap, $sequence, $flag, $options = 0)
$sequence = implode(',', $uid);
}

$client->flag($imap->getMailboxName(), $sequence, strtoupper(substr($flag, 1)));

return false;
return $client->flag($imap->getMailboxName(), $sequence, strtoupper(substr($flag, 1)));
}

/**
Expand Down

0 comments on commit 1dd8d5e

Please sign in to comment.