diff options
-rw-r--r-- | type/Base.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/type/Base.class.php b/type/Base.class.php index 3bda273..35d6e8b 100644 --- a/type/Base.class.php +++ b/type/Base.class.php | |||
@@ -141,7 +141,7 @@ class Type_Base { | |||
141 | function rrd_escape($value) { | 141 | function rrd_escape($value) { |
142 | # In case people have really bizarre URLs in $CONFIG['rrd_url'], | 142 | # In case people have really bizarre URLs in $CONFIG['rrd_url'], |
143 | # it should not be dropped. | 143 | # it should not be dropped. |
144 | return str_replace('\\', '\\\\', $value); | 144 | $value = str_replace('\\', '\\\\', $value); |
145 | # http://oss.oetiker.ch/rrdtool/doc/rrdgraph_graph.en.html#IEscaping_the_colon | 145 | # http://oss.oetiker.ch/rrdtool/doc/rrdgraph_graph.en.html#IEscaping_the_colon |
146 | return str_replace(':', '\:', $value); | 146 | return str_replace(':', '\:', $value); |
147 | } | 147 | } |