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