Applied D6LTS contrib patch SA-CONTRIB-2014-054
This commit is contained in:
parent
e9fe735920
commit
17454ca200
2 changed files with 2 additions and 2 deletions
|
@ -416,7 +416,7 @@ class view extends views_db_object {
|
||||||
*/
|
*/
|
||||||
function _init_handler($key, $info) {
|
function _init_handler($key, $info) {
|
||||||
// Load the requested items from the display onto the object.
|
// Load the requested items from the display onto the object.
|
||||||
$this->$key = $this->display_handler->get_handlers($key);
|
$this->$key = &$this->display_handler->get_handlers($key);
|
||||||
|
|
||||||
// This reference deals with difficult PHP indirection.
|
// This reference deals with difficult PHP indirection.
|
||||||
$handlers = &$this->$key;
|
$handlers = &$this->$key;
|
||||||
|
|
|
@ -565,7 +565,7 @@ class views_plugin_display extends views_plugin {
|
||||||
/**
|
/**
|
||||||
* Get a full array of handlers for $type. This caches them.
|
* Get a full array of handlers for $type. This caches them.
|
||||||
*/
|
*/
|
||||||
function get_handlers($type) {
|
function &get_handlers($type) {
|
||||||
if (!isset($this->handlers[$type])) {
|
if (!isset($this->handlers[$type])) {
|
||||||
$this->handlers[$type] = array();
|
$this->handlers[$type] = array();
|
||||||
$types = views_object_types();
|
$types = views_object_types();
|
||||||
|
|
Reference in a new issue