Quellcode durchsuchen

setup config options domains

andre vor 5 Jahren
Ursprung
Commit
8f1272108c
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      zimbraSingle.inc

+ 1 - 1
zimbraSingle.inc

@@ -392,7 +392,7 @@ function zimbraSingleConfigOptions() {
     $response = $apiDomainManager->getAllDomains();
     $response = $apiDomainManager->getAllDomains();
     $domainNames = recursiveFindAll($response, 'NAME');
     $domainNames = recursiveFindAll($response, 'NAME');
     foreach($domainNames as $domainName) {
     foreach($domainNames as $domainName) {
-        array_merge($configOptions[$domainName], array(
+        array_add($configOptions[$domainName], array(
             "FriendlyName" => $domainName,
             "FriendlyName" => $domainName,
             "Type" => "yesno",
             "Type" => "yesno",
             "Description" => "use this domain in customer selection?",
             "Description" => "use this domain in customer selection?",