do not list duplicates as a result of federation.
authorStephen Soltesz <soltesz@cs.princeton.edu>
Thu, 21 May 2009 14:02:22 +0000 (14:02 +0000)
committerStephen Soltesz <soltesz@cs.princeton.edu>
Thu, 21 May 2009 14:02:22 +0000 (14:02 +0000)
planetlab/pub/sites.php

index 5d5a821..87f4d40 100644 (file)
@@ -26,7 +26,7 @@ include 'plc_header.php';
 <?php
 
 // All defined sites
-$sites = $adm->GetSites(array('is_public' => TRUE), array('name', 'url'));
+$sites = $adm->GetSites(array('is_public' => TRUE, 'peer_id' => NULL), array('name', 'url'));
 
 foreach ($sites as $site) {
   $name = htmlspecialchars($site['name']);