Jelajahi Sumber

check reserved addresses

andre 4 tahun lalu
induk
melakukan
9a6f5433e0
1 mengubah file dengan 2 tambahan dan 3 penghapusan
  1. 2 3
      zimbraAddressAvailable.php

+ 2 - 3
zimbraAddressAvailable.php

@@ -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)