displaying peernames got broken with tag 4.3-18
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 9 Jun 2009 09:23:57 +0000 (09:23 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 9 Jun 2009 09:23:57 +0000 (09:23 +0000)
it looks like this was working by accident before the tag

planetlab/includes/plc_peers.php

index be446f6..6fa26ca 100644 (file)
@@ -98,6 +98,7 @@ class Peers {
   // writes a cell in the table with the peer's shortname, link to the peer page, 
   // and classname set for proper color
   function cell ($table, $peer_id) {
+    $shortname=$this->shortname($peer_id);
     $table->cell ($this->link($peer_id,$shortname),
                  array('class'=>$this->classname($peer_id)));
   }