r2879 - pull {$untagged} into trunk
[racktables] / inc / functions.php
index caeddff1206add44efd8e0e3407af2f80e62ae7e..ef157b26c8c7366fabc7dcfc5b90e5207a5f0683 100644 (file)
@@ -996,6 +996,8 @@ function generateEntityAutoTags ($cell)
                default: // HCF!
                        break;
        }
+       if (!count ($cell['etags']))
+               $ret[] = array ('tag' => '$untagged');
        return $ret;
 }