Skip to content
Snippets Groups Projects
  • Jared Hancock's avatar
    0c32eabb
    Fixup merging of email recipients · 0c32eabb
    Jared Hancock authored
    This stems from a confusing similarity between the + operator for arrays
    and array_merge() in php. Adding arrays will ignore items in the RHS where
    keys are present in the LHS. Therefore, when adding numerically indexed
    arrays together, only items on the RHS that have a key higher than the
    greatest key on the LHS will be included.
    0c32eabb
    History
    Fixup merging of email recipients
    Jared Hancock authored
    This stems from a confusing similarity between the + operator for arrays
    and array_merge() in php. Adding arrays will ignore items in the RHS where
    keys are present in the LHS. Therefore, when adding numerically indexed
    arrays together, only items on the RHS that have a key higher than the
    greatest key on the LHS will be included.