Show
Ignore:
Timestamp:
07/10/08 18:46:37 (6 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1215715597 +0000
git-parent:

[c2b37340f89c9d67e2d495d91a30d806bd9339dd]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1215715597 +0000
Message:

fix leaf detection

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • ui/web/lib/Reconnoiter_DB.php

    rc2b3734 r5bd9db1  
    9393      } 
    9494      $copy['cnt'] = $row['cnt']; 
    95       if($copy['cnt'] == 1) 
     95      if($copy['cnt'] == 1 && 
     96         isset($row['sid']) &&  
     97         isset($row['metric_name'])) { 
     98        $copy['unique'] = true; 
    9699        $copy['metric_type'] = $row['metric_type']; 
     100      } 
     101      else 
     102        $copy['unique'] = false; 
    97103      $rv[] = $copy; 
    98104    }