diff options
Diffstat (limited to 'type')
-rw-r--r-- | type/Default.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/type/Default.class.php b/type/Default.class.php index 6429e5e..cc1818a 100644 --- a/type/Default.class.php +++ b/type/Default.class.php | |||
@@ -105,7 +105,7 @@ class Type_Default { | |||
105 | $basename=basename($filename,'.rrd'); | 105 | $basename=basename($filename,'.rrd'); |
106 | $instance = strpos($basename,'-') | 106 | $instance = strpos($basename,'-') |
107 | ? substr($basename, strpos($basename,'-') + 1) | 107 | ? substr($basename, strpos($basename,'-') + 1) |
108 | : $basename; | 108 | : 'value'; |
109 | 109 | ||
110 | $this->tinstances[] = $instance; | 110 | $this->tinstances[] = $instance; |
111 | $this->files[$instance] = $filename; | 111 | $this->files[$instance] = $filename; |