diff --git a/model/Map.php b/model/Map.php index d2cf4f456..c2d3a15cc 100644 --- a/model/Map.php +++ b/model/Map.php @@ -77,6 +77,8 @@ class SS_Map implements ArrayAccess, Countable, IteratorAggregate { $oldItems = $this->firstItems; $this->firstItems = array($key => $value); if($oldItems) $this->firstItems = $this->firstItems + $oldItems; + + return $this; } // ArrayAccess