fuel/core — pull request #1120 by SicoAnimal (2012-08-24 16:09:31+00:00)
Title: Don't cache Config defaults

Fixes #1119

The default value does not want to be saved in `static::$itemcache`, the best way I can think to do this is detect when `null` (or any other value that is fairly uncommon) is returned by the `Arr::get()` and return the default without caching it.

I also thought about using the actual default in the `Arr::get()` and checking the value returned against `$default`, but imo this is more likely to stop an actual value from being cached than checking null.