diff options
| author | Pim van den Berg | 2014-02-10 22:21:47 +0100 |
|---|---|---|
| committer | Pim van den Berg | 2014-02-10 22:21:47 +0100 |
| commit | 4ef46afbf05c52ad3a225e2238529c5f717fe049 (patch) | |
| tree | 2eaabc89de20ad07bd8b739e7c9962859a3f13ca /inc/collectd.inc.php | |
| parent | Plugin/nut: Add support for power graphs (diff) | |
| download | apt-panopticon_cgp-4ef46afbf05c52ad3a225e2238529c5f717fe049.zip apt-panopticon_cgp-4ef46afbf05c52ad3a225e2238529c5f717fe049.tar.gz apt-panopticon_cgp-4ef46afbf05c52ad3a225e2238529c5f717fe049.tar.bz2 apt-panopticon_cgp-4ef46afbf05c52ad3a225e2238529c5f717fe049.tar.xz | |
use & instead of & in html
Diffstat (limited to 'inc/collectd.inc.php')
| -rw-r--r-- | inc/collectd.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/collectd.inc.php b/inc/collectd.inc.php index c41a6f5..7269e68 100644 --- a/inc/collectd.inc.php +++ b/inc/collectd.inc.php | |||
| @@ -206,11 +206,11 @@ function build_url($base, $items, $s=NULL) { | |||
| 206 | if ($value == 'NULL') | 206 | if ($value == 'NULL') |
| 207 | continue; | 207 | continue; |
| 208 | 208 | ||
| 209 | $base .= sprintf('%s%s=%s', $i==0 ? '?' : '&', $key, $value); | 209 | $base .= sprintf('%s%s=%s', $i==0 ? '?' : '&', $key, $value); |
| 210 | $i++; | 210 | $i++; |
| 211 | } | 211 | } |
| 212 | if (!isset($items['s'])) | 212 | if (!isset($items['s'])) |
| 213 | $base .= '&s='.$s; | 213 | $base .= '&s='.$s; |
| 214 | 214 | ||
| 215 | return $base; | 215 | return $base; |
| 216 | } | 216 | } |
