Expanded sanity check to hopefully pass tests
Travis is failing and barking about an undefined index "cache". Found the one place I'm referencing it without checking it first and added an isset(). Not failing locally so perhaps it's an issue with PHP 5.5.6 in comparison to 5.5.7 or some other nuance I'm not aware of.
This commit is contained in:
parent
c0dbb39bda
commit
ec4d771440
1 changed files with 2 additions and 1 deletions
|
@ -72,7 +72,8 @@ class Cache extends Object
|
|||
{
|
||||
parent::__construct();
|
||||
|
||||
if ($this->config->pickles['cache'])
|
||||
// @todo Shouldn't need the isset() but Travis is failing some tests
|
||||
if (isset($this->config->pickles['cache']) && $this->config->pickles['cache'])
|
||||
{
|
||||
if (!is_array($this->config->pickles['cache']))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue