andre 4 жил өмнө
parent
commit
94195061ba

+ 1 - 2
zimbraAddressAvailable.php

@@ -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')
 	->select('id')
 	->where('packageid', $zmAuthPIDs)