diff options
author | Karol Nowacki | 2011-04-21 20:24:38 +0200 |
---|---|---|
committer | Pim van den Berg | 2011-04-21 20:30:07 +0200 |
commit | 1bce11aec73bcd6f90fe8e72877b4061ae8d45af (patch) | |
tree | 082af880c39ee01a241c0467fec29c239ef0155b /plugin/memcached.php | |
parent | plugin/varnish: deduplicate rrd_format values (diff) | |
download | apt-panopticon_cgp-1bce11aec73bcd6f90fe8e72877b4061ae8d45af.zip apt-panopticon_cgp-1bce11aec73bcd6f90fe8e72877b4061ae8d45af.tar.gz apt-panopticon_cgp-1bce11aec73bcd6f90fe8e72877b4061ae8d45af.tar.bz2 apt-panopticon_cgp-1bce11aec73bcd6f90fe8e72877b4061ae8d45af.tar.xz |
resolve php notices
Including a lot of undefined $_GET values.
Diffstat (limited to '')
-rw-r--r-- | plugin/memcached.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/memcached.php b/plugin/memcached.php index b30c27c..e011c9e 100644 --- a/plugin/memcached.php +++ b/plugin/memcached.php | |||
@@ -21,7 +21,7 @@ require_once 'inc/collectd.inc.php'; | |||
21 | # ps_cputime.rrd | 21 | # ps_cputime.rrd |
22 | 22 | ||
23 | 23 | ||
24 | switch($_GET['t']) { | 24 | switch(GET('t')) { |
25 | # df-cache.rrd | 25 | # df-cache.rrd |
26 | case 'df': | 26 | case 'df': |
27 | require_once 'type/Default.class.php'; | 27 | require_once 'type/Default.class.php'; |