Procházet zdrojové kódy

check reserved addresses

andre před 4 roky
rodič
revize
0d6e013b98
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 3 3
      zimbraAddressAvailable.php

+ 3 - 3
zimbraAddressAvailable.php

@@ -70,10 +70,10 @@ $customfieldsvaluesObj = Capsule::table('tblcustomfieldsvalues')
 	->get()
 	->get()
 	->toArray();
 	->toArray();
 $i = 0;
 $i = 0;
-while ($i < count($customfieldIDsObj)) {
-		$mailname = $customfieldIDsObj[$i]->value;
+while ($i < count($customfieldsvaluesObj)) {
+		$mailname = $customfieldsvaluesObj[$i]->value;
 		$i++;
 		$i++;
-		$maildomain = $customfieldsvalue[$i]->value;
+		$maildomain = $customfieldsvaluesObj[$i]->value;
 		$reservedAddress = $mailname . '@' . $maildomain;
 		$reservedAddress = $mailname . '@' . $maildomain;
 		array_push($customfieldsvalues, $reservedAddress);
 		array_push($customfieldsvalues, $reservedAddress);
 }
 }