aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/type/Base.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'type/Base.class.php')
-rw-r--r--type/Base.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/type/Base.class.php b/type/Base.class.php
index 7ee547e..1452d43 100644
--- a/type/Base.class.php
+++ b/type/Base.class.php
@@ -405,7 +405,7 @@ class Type_Base {
405 } 405 }
406 elseif ($this->flush_type == 'rrdcached') { 406 elseif ($this->flush_type == 'rrdcached') {
407 foreach ($identifier as $val) { 407 foreach ($identifier as $val) {
408 $cmd = sprintf("FLUSH %s.rrd\n", $val); 408 $cmd = sprintf("FLUSH %s.rrd\n", str_replace(' ', '\\ ', $val));
409 $this->socket_cmd($socket, $cmd); 409 $this->socket_cmd($socket, $cmd);
410 } 410 }
411 } 411 }