mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
commit
69dffd9b86
@ -77,6 +77,8 @@ class SS_Map implements ArrayAccess, Countable, IteratorAggregate {
|
|||||||
$oldItems = $this->firstItems;
|
$oldItems = $this->firstItems;
|
||||||
$this->firstItems = array($key => $value);
|
$this->firstItems = array($key => $value);
|
||||||
if($oldItems) $this->firstItems = $this->firstItems + $oldItems;
|
if($oldItems) $this->firstItems = $this->firstItems + $oldItems;
|
||||||
|
|
||||||
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ArrayAccess
|
// ArrayAccess
|
||||||
|
Loading…
Reference in New Issue
Block a user