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