As reported in #2471539: Broken Cache Lifetime , using array_merge breaks an array's consistency as all numeric keys are reordered.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna’s picture

Issue summary: View changes
DamienMcKenna’s picture

Status: Active » Needs review
FileSize
521 bytes

This removes the one remaining array_merge().

DamienMcKenna’s picture

Status: Needs review » Fixed

Committed.

DamienMcKenna’s picture

Version: 7.x-1.x-dev » 6.x-1.x-dev
Status: Fixed » Patch (to be ported)

This probably needs to be backported.

  • DamienMcKenna committed 37255b6 on 7.x-1.x
    Issue #2471567 by DamienMcKenna: The array_merge() function re-sorts...