Code

Updated DNS class.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 25 Feb 2008 10:31:55 +0000 (10:31 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 25 Feb 2008 10:31:55 +0000 (10:31 +0000)
-Fixed several errors if no zone was found.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9102 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/dns/admin/systems/services/dns/class_DNS.inc

index 4354c9a1b0361a35fc9d533358f8e637a632de39..7338000e0e8ec3b95e0e7c98375ca8a2c998f3a3 100644 (file)
@@ -637,6 +637,7 @@ class DNS
    */
   static function getAvailableZones($config)
   {
+    $ReverseZones = $ForwardZones = $zones = array();
     $runtime_cache = session::get("runtime_cache");
     if(!isset($runtime_cache['DNS']['getAvailableZones'])){