mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-15 05:04:09 +02:00
Merge pull request #5481 from kasimi/ticket/15910-3.2.x
[ticket/15910] Pass object arguments by reference implicitly
This commit is contained in:
@@ -28,9 +28,9 @@ class ucp_main
|
||||
var $p_master;
|
||||
var $u_action;
|
||||
|
||||
function __construct(&$p_master)
|
||||
function __construct($p_master)
|
||||
{
|
||||
$this->p_master = &$p_master;
|
||||
$this->p_master = $p_master;
|
||||
}
|
||||
|
||||
function main($id, $mode)
|
||||
|
Reference in New Issue
Block a user