From: <dts...@us...> - 2003-06-01 19:58:44
|
Update of /cvsroot/phpwebsite-comm/modules/contacts/class In directory sc8-pr-cvs1:/tmp/cvs-serv31181/class Modified Files: Address.php Phone.php Log Message: Permissions fix Index: Address.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/contacts/class/Address.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Address.php 1 Jun 2003 18:25:22 -0000 1.3 --- Address.php 1 Jun 2003 19:58:07 -0000 1.4 *************** *** 120,123 **** --- 120,124 ---- //$this->_address_type = new CONTACTS_AddressType($this->_type_id); } else { + $this->setOwner($_SESSION["OBJ_user"]->username); $this->_contact_id = $_REQUEST["CONTACTS_contact_id"]; } Index: Phone.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/contacts/class/Phone.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Phone.php 1 Jun 2003 18:25:22 -0000 1.2 --- Phone.php 1 Jun 2003 19:58:08 -0000 1.3 *************** *** 64,67 **** --- 64,68 ---- //$this->_phone_type = new CONTACTS_PhoneType($this->_type_id); } else { + $this->setOwner($_SESSION["OBJ_user"]->username); $this->_contact_id = $_REQUEST["CONTACTS_contact_id"]; } |