|
|
@@ -33,11 +33,10 @@ if(!filter_var($accountName, FILTER_VALIDATE_EMAIL)) {
|
|
|
exit;
|
|
|
}
|
|
|
// check reserved mail addresses
|
|
|
-$zmAuthPIDs = json_decode(json_encode(Capsule::table('tblproducts')
|
|
|
+$zmAuthPIDs = Capsule::table('tblproducts')
|
|
|
->select('id')
|
|
|
->where('gid', zmAuthGids)
|
|
|
- ->get()
|
|
|
-));
|
|
|
+ ->get();
|
|
|
$hostingIDs = Capsule::table('tblhosting')
|
|
|
->select('id')
|
|
|
->where('packageid', $zmAuthPIDs)
|