diff options
Diffstat (limited to 'imapsync')
-rwxr-xr-x | imapsync | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -727,7 +727,7 @@ sub sync_messages($$) { # new mailbox if (!defined $$idx) { - my $subscribed = grep { $_ eq $mailbox} @SUBSCRIPTIONS ? 1 : 0; + my $subscribed = (grep { $_ eq $mailbox} @SUBSCRIPTIONS) ? 1 : 0; $STH_NEWMAILBOX->execute($mailbox, $subscribed); $STH_GET_INDEX->execute($mailbox); ($$idx) = $STH_GET_INDEX->fetchrow_array(); |