mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-01 00:03:18 +01:00
Fix reference allocation in variable
This commit is contained in:
parent
dfafd88159
commit
6220c3e6d6
7 changed files with 9 additions and 9 deletions
|
@ -48,7 +48,7 @@ class LSattr_html {
|
|||
function LSattr_html ($name,$config,&$attribute) {
|
||||
$this -> name = $name;
|
||||
$this -> config = $config;
|
||||
$this -> attribute = $attribute;
|
||||
$this -> attribute =& $attribute;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ class LSattr_ldap {
|
|||
function LSattr_ldap ($name,$config,&$attribute) {
|
||||
$this -> name = $name;
|
||||
$this -> config = $config;
|
||||
$this -> attribute = $attribute;
|
||||
$this -> attribute =& $attribute;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -63,7 +63,7 @@ class LSattribute {
|
|||
function LSattribute ($name,$config,&$ldapObject) {
|
||||
$this -> name = $name;
|
||||
$this -> config = $config;
|
||||
$this -> ldapObject = $ldapObject;
|
||||
$this -> ldapObject =& $ldapObject;
|
||||
$html_type = "LSattr_html_".$config['html_type'];
|
||||
$ldap_type = "LSattr_ldap_".$config['ldap_type'];
|
||||
LSsession :: loadLSclass($html_type);
|
||||
|
@ -625,7 +625,7 @@ class LSattribute {
|
|||
*/
|
||||
function addObjectEvent($event,&$obj,$meth,$params=NULL) {
|
||||
$this -> _objectEvents[$event][] = array(
|
||||
'obj' => $obj,
|
||||
'obj' => &$obj,
|
||||
'meth' => $meth,
|
||||
'params' => $params
|
||||
);
|
||||
|
|
|
@ -70,7 +70,7 @@ class LSform {
|
|||
else {
|
||||
$this -> submit = $submit;
|
||||
}
|
||||
$this -> ldapObject = $ldapObject;
|
||||
$this -> ldapObject =& $ldapObject;
|
||||
LSsession :: loadLSclass('LSformElement');
|
||||
}
|
||||
|
||||
|
|
|
@ -60,8 +60,8 @@ class LSformElement {
|
|||
$this -> name = $name;
|
||||
$this -> label = $label;
|
||||
$this -> params = $params;
|
||||
$this -> form = $form;
|
||||
$this -> attr_html = $attr_html;
|
||||
$this -> form =& $form;
|
||||
$this -> attr_html =& $attr_html;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -1652,7 +1652,7 @@ class LSldapObject {
|
|||
*/
|
||||
function addObjectEvent($event,&$obj,$meth,$param=NULL) {
|
||||
$this -> _objectEvents[$event][] = array(
|
||||
'obj' => $obj,
|
||||
'obj' => &$obj,
|
||||
'meth' => $meth,
|
||||
'param' => $param
|
||||
);
|
||||
|
|
|
@ -61,7 +61,7 @@ class LSsearchEntry {
|
|||
if (!LSsession :: loadLSobject($LSobject)) {
|
||||
return;
|
||||
}
|
||||
$this -> LSsearch = $LSsearch;
|
||||
$this -> LSsearch =& $LSsearch;
|
||||
$this -> LSobject = $LSobject;
|
||||
$this -> params = $params;
|
||||
$this -> id = $id;
|
||||
|
|
Loading…
Reference in a new issue