r2408 fixed bug in object page
authorDenis Yeldandi <dyeldandi@gmail.com>
Sat, 7 Feb 2009 14:33:43 +0000 (14:33 +0000)
committerDenis Yeldandi <dyeldandi@gmail.com>
Sat, 7 Feb 2009 14:33:43 +0000 (14:33 +0000)
inc/interface.php

index 7ebbdc3bc204728e438117a31f55251a5e4b1eb4..fc1349a2ca42f39e1b4c3182f06396c6604dd5e2 100644 (file)
@@ -2698,8 +2698,10 @@ function renderIPv4AddressAllocations ($dottedquad)
 
 function renderNATv4ForObject ($object_id = 0)
 {
+       global $root;
        function printNewItemTR ($alloclist)
        {
+               global $root;
                printOpFormIntro ('addNATv4Rule');
                echo "<tr align='center'><td>";
                printImageHREF ('add', 'Add new NAT rule', TRUE);