Commit 8f7139a8 authored by lieb's avatar lieb Committed by anarcat

Issue #2005698 by lieb: Fixed Invalid argument supplied for foreach() Service.php:144.

parent 45718748
......@@ -34,7 +34,7 @@ class Provision_Service extends Provision_ChainedState {
protected $config_cache = array();
private $_config = NULL;
private $_config = array();
/**
......@@ -95,7 +95,7 @@ class Provision_Service extends Provision_ChainedState {
* turned into an array with the 'name' property the value of the string.
*/
function config($config, $data = array()) {
$this->_config = NULL;
$this->_config = array();
if (!isset($this->configs[$config])) {
$service = (!is_null($this->application_name)) ? $this->application_name : $this->service;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment