Ver Fonte

check reserved addresses

andre há 4 anos atrás
pai
commit
94195061ba
1 ficheiros alterados com 1 adições e 2 exclusões
  1. 1 2
      zimbraAddressAvailable.php

+ 1 - 2
zimbraAddressAvailable.php

@@ -36,8 +36,7 @@ if(!filter_var($accountName, FILTER_VALIDATE_EMAIL)) {
 $zmAuthPIDs = Capsule::table('tblproducts')
 $zmAuthPIDs = Capsule::table('tblproducts')
 	->select('id')
 	->select('id')
 	->where('gid', zmAuthGids)
 	->where('gid', zmAuthGids)
-	->get()
-	->toArray();
+	->fetch();
 $hostingIDs = Capsule::table('tblhosting')
 $hostingIDs = Capsule::table('tblhosting')
 	->select('id')
 	->select('id')
 	->where('packageid', $zmAuthPIDs)
 	->where('packageid', $zmAuthPIDs)