r1925 + fix missing global declaration RackTables-0.15.0
authorDenis Ovsienko <infrastation@yandex.ru>
Fri, 9 May 2008 20:56:17 +0000 (20:56 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Fri, 9 May 2008 20:56:17 +0000 (20:56 +0000)
inc/interface.php

index 732d6cf..15848ed 100644 (file)
@@ -598,6 +598,7 @@ function printSelect ($rowList, $select_name, $selected_id = 1)
 // used by renderGridForm() and renderRackPage()
 function renderRackInfoPortlet ($rackData)
 {
+       global $root;
        startPortlet ('summary');
        echo "<table border=0 cellspacing=0 cellpadding=3 width='100%'>\n";
        echo "<tr><th width='50%' class=tdright>Rack row:</th><td class=tdleft>${rackData['row_name']}</td></tr>\n";