public inbox for [email protected]
 help / color / mirror / Atom feed
From: Ammar Faizi <[email protected]>
To: Alviro Iskandar Setiawan <[email protected]>
Cc: GNU/Weeb Mailing List <[email protected]>,
	Alviro Iskandar Setiawan <[email protected]>,
	Nugra <[email protected]>, Arthur Lapz <[email protected]>
Subject: Re: [PATCH pit] bin/public-inbox-tg: Fix fatal error when "To:" or CC list is empty
Date: Sun, 27 Feb 2022 02:40:21 +0700	[thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>

On Sat, 26 Feb 2022 19:27:50 +0000, Alviro Iskandar Setiawan wrote:
> When "To:" or CC list is empty, we don't have the $toList or $ccList
> variable, we must always check their existence before entering the
> array_merge() call. Fix it by using null coalescing operator and
> fallback to an empty array.
> 
> [...]
Applied, thanks!

[1/1] bin/public-inbox-tg: Fix fatal error when "To:" or CC list is empty
       commit: e6a29a4eb182909bea7b34013796e5d351c66192

Best regards,
-- 
Ammar Faizi


      reply	other threads:[~2022-02-26 19:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-26 19:27 [PATCH pit] bin/public-inbox-tg: Fix fatal error when "To:" or CC list is empty Alviro Iskandar Setiawan
2022-02-26 19:40 ` Ammar Faizi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox