Use array_push() instead of []
[core.git] / inc / classes / main / cache / class_MemoryCache.php
index 7f254d3367f2abd2d722be7a4c8f1ea819f82972..d9d252cecce63740094be2372fa7d1c842bba3b1 100644 (file)
@@ -78,7 +78,7 @@ class MemoryCache extends BaseFrameworkSystem implements Cacheable {
                // So look for array element?
                if (($exists === TRUE) && (!is_null($arrayElement))) {
                        // Get it
-                       $array = $this->offetget($offset);
+                       $array = $this->offsetGet($offset);
 
                        // Is it an array and element is found?
                        if ((is_array($array)) && (isset($array[$arrayElement]))) {