final fix for .be

This commit is contained in:
sparc 2011-06-26 09:22:30 +00:00
parent 07c46b7ccb
commit 74382fcf82
2 changed files with 7 additions and 3 deletions

View file

@ -2,7 +2,7 @@
- added handler for gandi (request #3155752)
- added handler for .cl
- corrected utf-8 support for .hu, .br and ripe
- fixed. pl, .org.za handler
- fixed. pl, .org.za, .be handler
2011/06/24
- fixed .be handler (bug #3307363)

View file

@ -50,16 +50,20 @@ class be_handler
'agent' => 'Agent:'
);
$trans = array(
'company name2:' => ''
);
$r['regrinfo'] = get_blocks($data['rawdata'], $items);
if ($r['regrinfo']['domain']['status'] == 'REGISTERED')
{
$r['regrinfo']['registered'] = 'yes';
$r['regrinfo'] = get_contacts($r['regrinfo']);
$r['regrinfo'] = get_contacts($r['regrinfo'],$trans);
if (isset($r['regrinfo']['agent']))
{
$sponsor = get_contact($r['regrinfo']['agent']);
$sponsor = get_contact($r['regrinfo']['agent'],$trans);
unset($r['regrinfo']['agent']);
$r['regrinfo']['domain']['sponsor'] = $sponsor['name'];
}