diff options
author | Pim van den Berg | 2014-06-28 16:10:02 +0200 |
---|---|---|
committer | Pim van den Berg | 2014-06-28 16:15:00 +0200 |
commit | 056714a29721f1332f2497e440654f6735055d67 (patch) | |
tree | 741bc168cd6ff247d5cb5ff58ed5de8f96461cc5 /plugin.php | |
parent | Merge remote-tracking branch 'dhchen/master' (diff) | |
download | apt-panopticon_cgp-056714a29721f1332f2497e440654f6735055d67.zip apt-panopticon_cgp-056714a29721f1332f2497e440654f6735055d67.tar.gz apt-panopticon_cgp-056714a29721f1332f2497e440654f6735055d67.tar.bz2 apt-panopticon_cgp-056714a29721f1332f2497e440654f6735055d67.tar.xz |
type/base: replace array_merge by + sign to merge a fallback array
array_merge resets the index, while in case of $this->colors and
$this->legend, we'd like to keep the index. An irq plugin sample:
array(1 => 1, 'ERR' => 'ERR') must not become
array(0 => 1, 'ERR' => 'ERR') after an array_merge.
Diffstat (limited to 'plugin.php')
0 files changed, 0 insertions, 0 deletions