r3013 - renderRackSpaceForObject(): use the right variable (ticket:271)
authorDenis Ovsienko <infrastation@yandex.ru>
Wed, 29 Jul 2009 12:57:47 +0000 (12:57 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Wed, 29 Jul 2009 12:57:47 +0000 (12:57 +0000)
ChangeLog
inc/interface.php

index e8c17560120de0112684b308733386074f893316..d9336083efca112ad5d2fe8dda151ddac0260111 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 0.17.3
        update: even better search function (ticket:20)
        new feature: tags quick list on "Tags" tab (ticket:259)
+       bugfix: removed PHP warnings on "Rackspace" tab
 0.17.2 2009-07-22
        new feature: configure default SNMP community (by jthurman)
        new feature: "$untagged", "$portless", "$nameless" and "$masklen_OP_NN" autotags
index 6a31c4d747970c5107526c495395a2a1f4560287..1a38c887839787e8409d03d53832f5860b0805a4 100644 (file)
@@ -1614,7 +1614,7 @@ function renderRackSpaceForObject ($object_id)
                foreach ($allRacksData as $rack)
                {
                        amplifyCell ($rack);
-                       $workingRacksData[$rack_id] = $rack;
+                       $workingRacksData[$rack['id']] = $rack;
                }
                foreach ($workingRacksData as &$rackData)
                        applyObjectMountMask ($rackData, $object_id);