Index: platform/hosting_platform.module
===================================================================
RCS file: /cvs/drupal/contributions/modules/hosting/platform/hosting_platform.module,v
retrieving revision 1.56
diff -u -p -r1.56 hosting_platform.module
--- platform/hosting_platform.module	13 Jul 2009 09:19:14 -0000	1.56
+++ platform/hosting_platform.module	22 Aug 2009 07:27:27 -0000
@@ -76,6 +76,18 @@ function _hosting_get_platforms() {
 }
 
 /**
+ * Small helper function to get only verified platforms.
+*/
+function _hosting_get_verified_platforms() {
+  $return = array();
+  $result = db_query("SELECT n.nid, n.title FROM {node} n LEFT JOIN {hosting_platform} p ON p.nid = n.nid WHERE n.type='platform' AND n.status=1 AND p.verified > 0");
+  while($server = db_fetch_object($result)) {
+    $return[$server->nid] = $server->title;
+  }
+  return $return;
+}
+
+/**
  * Implementation of hook_form().
  */
 function hosting_platform_form(&$node) {
Index: site/hosting_site.module
===================================================================
RCS file: /cvs/drupal/contributions/modules/hosting/site/hosting_site.module,v
retrieving revision 1.109
diff -u -p -r1.109 hosting_site.module
--- site/hosting_site.module	20 Jul 2009 15:13:57 -0000	1.109
+++ site/hosting_site.module	22 Aug 2009 07:27:27 -0000
@@ -287,7 +287,7 @@ function hosting_site_form($node) {
   }
 
   if (!$node->nid) {
-    $platforms = _hosting_get_platforms();
+    $platforms = _hosting_get_verified_platforms();
     if (sizeof($platforms) > 1) {
       $form['platform'] = array(
         '#type' => 'radios',
