morgan/kohana-deputy — pull request #3 by nichcurtis (2012-07-28 09:00:58+00:00)
Title: Fixed pass by reference error

ErrorException [ Strict ]: Only variables should be passed by reference
MODPATH/deputy/classes/kohana/deputy/resource.php [ 118 ]
113	$config = Arr::merge(Deputy_Resource::$defaults, $config);
114
115	$this->_title	= ($config['title']) ? $config['title'] :
Deputy_Resource::humanize($config['uri']);
116	$this->_uri	= ($config['uri_override']) ?
$config['uri_override'] : $config['uri'];
117	$this->_visible	= $config['visible'];
118	$this->_segment	= ($config['segment']) ? $config['segment'] :
array_pop(explode('/', $config['uri']));
119	$this->_meta	= $config['meta'];
120	}
121
122	/**
123	* Get or set title
MODPATH/deputy/classes/kohana/deputy/resource.php [ 118 ] »
Kohana_Core::error_handler(arguments)
MODPATH/deputy/classes/kohana/deputy.php [ 100 ] »
Kohana_Deputy_Resource->__construct()
MODPATH/deputy/classes/kohana/deputy.php [ 48 ] »
Kohana_Deputy->__construct(arguments)
0
array(0)
APPPATH/classes/application.php [ 27 ] » Kohana_Deputy::instance()