- }
-
- return $value;
- }
-
- private function saveTel($pid, $telid, array &$phone)
- {
- if ($phone['tel'] != '') {
- XDB::execute("INSERT INTO profile_phones (pid, link_type, link_id, tel_id, tel_type,
- search_tel, display_tel, pub, comment)
- VALUES ({?}, {?}, {?}, {?}, {?},
- {?}, {?}, {?}, {?})",
- $pid, $this->link_type, $this->link_id, $telid, $phone['type'],
- format_phone_number($phone['tel']), $phone['tel'], $phone['pub'], $phone['comment']);