Subversion Repositories oidplus

Rev

Rev 1138 | Rev 1143 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1138 Rev 1142
Line 820... Line 820...
820
                                $elements['first-registrant']['last-name'] = '';
820
                                $elements['first-registrant']['last-name'] = '';
821
                                $elements['first-registrant']['address'] = '';
821
                                $elements['first-registrant']['address'] = '';
822
                                $elements['first-registrant']['email'] = '';
822
                                $elements['first-registrant']['email'] = '';
823
                                $elements['first-registrant']['phone'] = '';
823
                                $elements['first-registrant']['phone'] = '';
824
                                $elements['first-registrant']['fax'] = '';
824
                                $elements['first-registrant']['fax'] = '';
-
 
825
                                $create_ts = $obj->getCreatedTime();
825
                                $elements['first-registrant']['creation-date'] = self::_formatdate($obj->getCreatedTime());
826
                                $elements['first-registrant']['creation-date'] = $create_ts ? self::_formatdate($create_ts) : '';
826
 
827
 
827
                                $elements['current-registrant']['first-name'] = '';
828
                                $elements['current-registrant']['first-name'] = '';
828
                                $elements['current-registrant']['last-name'] = '';
829
                                $elements['current-registrant']['last-name'] = '';
829
                                $elements['current-registrant']['email'] = $obj->getRaMail();
830
                                $elements['current-registrant']['email'] = $obj->getRaMail();
830
                                $elements['current-registrant']['phone'] = '';
831
                                $elements['current-registrant']['phone'] = '';
Line 867... Line 868...
867
                                                $elements['current-registrant']['address'] = '';
868
                                                $elements['current-registrant']['address'] = '';
868
                                        } else {
869
                                        } else {
869
                                                $elements['current-registrant']['address'] = implode("<br/>", $tmp);
870
                                                $elements['current-registrant']['address'] = implode("<br/>", $tmp);
870
                                        }
871
                                        }
871
                                }
872
                                }
-
 
873
                                $update_ts = $obj->getUpdatedTime();
872
                                $elements['current-registrant']['modification-date'] = self::_formatdate($obj->getUpdatedTime());
874
                                $elements['current-registrant']['modification-date'] = $update_ts ? self::_formatdate($update_ts) : '';
873
 
875
 
874
                                // Request from O.D. 20 May 2019: First registrant should not be empty (especially for cases where Creation and Modify Dates are the same)
876
                                // Request from O.D. 20 May 2019: First registrant should not be empty (especially for cases where Creation and Modify Dates are the same)
875
                                // Actually, this is a problem because we don't know the first registrant.
877
                                // Actually, this is a problem because we don't know the first registrant.
876
                                // However, since oidinfo gets their XML very fast (if using registration), it is likely that the reported RA is still the same...
878
                                // However, since oidinfo gets their XML very fast (if using registration), it is likely that the reported RA is still the same...
877
                                // ... and changes at the RA are not reported to oid-info.com anyways - the XML is only for creation
879
                                // ... and changes at the RA are not reported to oid-info.com anyways - the XML is only for creation