--- ../vegadns-1.1.3/src/records.php    2005-02-22 14:48:19.000000000 -0700
+++ src/records.php     2005-03-01 02:08:00.079435472 -0700
@@ -197,8 +197,8 @@
            $records[$counter]['type'] = $row['type'];
            $records[$counter]['val'] = $row['val'];
            $records[$counter]['distance'] = $row['distance'];
-               $records[$counter]['weight'] = $row['weight'];
-               $records[$counter]['port'] = $row['port'];
+               if(isset($row['weight'])) $records[$counter]['weight'] = 
$row['weight'];
+               if(isset($row['port'])) $records[$counter]['port'] = 
$row['port'];
            $records[$counter]['ttl'] = $row['ttl'];
        }
    }

fixes
*
Notice*: Undefined index: weight in */usr/local/apache/vegadns/src/records.php* on line *202*


*Notice*: Undefined index: port in */usr/local/apache/vegadns/src/records.php* on line *203

--*Logan



Reply via email to