Skip to content

Commit

Permalink
Domains not renewing - BUG FIX
Browse files Browse the repository at this point in the history
Domain renewal bug fix - "Serialization of 'SimpleXMLElement' is not allowed"
Related to: boxbilling/boxbilling#508
  • Loading branch information
Luka Paunović committed Apr 15, 2018
1 parent 6fc24b2 commit 787cf24
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions bb-library/Registrar/Adapter/Namesilo.php
Expand Up @@ -6,7 +6,7 @@
Changelog:
2.20.2017 - Payment ID
04.14.2017 - Domain Renewal Bug Fix
04.14.2018 - Domain Renewal Bug Fix
*/
class Registrar_Adapter_Namesilo extends Registrar_AdapterAbstract
{
Expand Down Expand Up @@ -213,16 +213,16 @@ public function getDomainDetails(Registrar_Domain $domain)
foreach ($result->nameservers->nameserver as $ns)
{
if ($i == 1){
$domain->setNs1($ns);
$domain->setNs1((string) $ns);
}
if ($i == 2){
$domain->setNs2($ns);
$domain->setNs2((string) $ns);
}
if ($i == 3){
$domain->setNs3($ns);
$domain->setNs3((string) $ns);
}
if ($i == 4){
$domain->setNs4($ns);
$domain->setNs4((string) $ns);
}
$i++;
}
Expand Down

0 comments on commit 787cf24

Please sign in to comment.