r1455 + more RSU code
authorDenis Ovsienko <infrastation@yandex.ru>
Sat, 29 Dec 2007 11:20:46 +0000 (11:20 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Sat, 29 Dec 2007 11:20:46 +0000 (11:20 +0000)
inc/interface.php

index 114a3a2103f43d13ff021d6fd18c6e3f4125e631..10ce5bbc4c2586ebe2709b5a8ec331d946a9367a 100644 (file)
@@ -2574,7 +2574,7 @@ function renderRackPage ($rack_id)
        echo "<tr><th width='50%' class=tdright>Rack row:</th><td class=tdleft>${rackData['row_name']}</td></tr>\n";
        echo "<tr><th width='50%' class=tdright>Name:</th><td class=tdleft>${rackData['name']}</td></tr>\n";
        echo "<tr><th width='50%' class=tdright>Height:</th><td class=tdleft>${rackData['height']}</td></tr>\n";
-       echo "<tr><th width='50%' class=tdright>Utilization:</th><td class=tdleft>" . getRUSforRack ($rack_id) . "</td></tr>\n";
+       echo "<tr><th width='50%' class=tdright>Utilization:</th><td class=tdleft>" . getRUSforRack ($rack_ids) . "</td></tr>\n";
        if (!empty ($rackData['comment']))
                echo "<tr><th width='50%' class=tdright>Comment:</th><td class=tdleft>${rackData['comment']}</td></tr>\n";
        echo '</table>';