r2805 - pull bugfix from maintenance branch into trunk
[racktables] / inc / interface.php
index c104f1e1661debba4f9dd986fc4097f581af9afe..0be92b8d37eecf1e4c285e1bd4192b94440867cc 100644 (file)
@@ -303,7 +303,6 @@ function renderRackspace ()
                                        echo '</tr></table></tr>';
                                        echo "<tr class=row_${order}><th class=tdleft>${row_name} (continued)";
                                        echo "</th><td><table border=0 cellspacing=5><tr>";
-                                       $order = $nextorder[$order];
                                }
                                echo "<td align=center><a href='".makeHref(array('page'=>'rack', 'rack_id'=>$rack['id']))."'>";
                                echo "<img border=0 width=${rackwidth} height=";
@@ -313,6 +312,7 @@ function renderRackspace ()
                                echo "<br>${rack['name']}</a></td>";
                                $rackListIdx++;
                        }
+               $order = $nextorder[$order];
                echo "</tr></table></tr>\n";
        }
        echo "</table>\n";