diff --git a/public_html/includes/class/class.LSattr_html.php b/public_html/includes/class/class.LSattr_html.php index ba583de3..5f0f327d 100644 --- a/public_html/includes/class/class.LSattr_html.php +++ b/public_html/includes/class/class.LSattr_html.php @@ -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; } diff --git a/public_html/includes/class/class.LSattr_ldap.php b/public_html/includes/class/class.LSattr_ldap.php index 415ddbff..f4069bdf 100644 --- a/public_html/includes/class/class.LSattr_ldap.php +++ b/public_html/includes/class/class.LSattr_ldap.php @@ -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; } diff --git a/public_html/includes/class/class.LSattribute.php b/public_html/includes/class/class.LSattribute.php index c6e1ddc4..add60a06 100644 --- a/public_html/includes/class/class.LSattribute.php +++ b/public_html/includes/class/class.LSattribute.php @@ -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 ); diff --git a/public_html/includes/class/class.LSform.php b/public_html/includes/class/class.LSform.php index 70d54db5..c3d55273 100644 --- a/public_html/includes/class/class.LSform.php +++ b/public_html/includes/class/class.LSform.php @@ -70,7 +70,7 @@ class LSform { else { $this -> submit = $submit; } - $this -> ldapObject = $ldapObject; + $this -> ldapObject =& $ldapObject; LSsession :: loadLSclass('LSformElement'); } diff --git a/public_html/includes/class/class.LSformElement.php b/public_html/includes/class/class.LSformElement.php index db19bfd5..baca7cca 100644 --- a/public_html/includes/class/class.LSformElement.php +++ b/public_html/includes/class/class.LSformElement.php @@ -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; } diff --git a/public_html/includes/class/class.LSldapObject.php b/public_html/includes/class/class.LSldapObject.php index 96fe335b..135b92f7 100644 --- a/public_html/includes/class/class.LSldapObject.php +++ b/public_html/includes/class/class.LSldapObject.php @@ -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 ); diff --git a/public_html/includes/class/class.LSsearchEntry.php b/public_html/includes/class/class.LSsearchEntry.php index 35c492eb..d29271fc 100644 --- a/public_html/includes/class/class.LSsearchEntry.php +++ b/public_html/includes/class/class.LSsearchEntry.php @@ -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;