constructors are named __construct for php8
[plewww.git] / planetlab / includes / plc_visibletags2.php
index 319ac7f..8bcdb81 100644 (file)
@@ -8,8 +8,8 @@
 class VisibleTags {
   var $api;
   var $type;
-  
-  function VisibleTags ($api,$type) {
+
+  function __construct ($api,$type) {
     $this->api=$api;
     $this->type=$type;
     $this->columns=NULL;
@@ -65,6 +65,9 @@ class VisibleTags {
     $columns=$this->columns();
     foreach ($columns as $column)
        {
+       if ($column['header'] == 'f')
+                continue;
+
            //panos: needed a few more fields in the header array
        $headerId = $column['header'];
        if ($column['headerId'] != "")