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/swap.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 'plugin/swap.php')
-rw-r--r-- | plugin/swap.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/swap.php b/plugin/swap.php index 9449b55..c24d90b 100644 --- a/plugin/swap.php +++ b/plugin/swap.php | |||
@@ -11,7 +11,7 @@ require_once 'inc/collectd.inc.php'; | |||
11 | # swap/swap-free.rrd | 11 | # swap/swap-free.rrd |
12 | # swap/swap-used.rrd | 12 | # swap/swap-used.rrd |
13 | 13 | ||
14 | switch($_GET['t']) { | 14 | switch(GET('t')) { |
15 | case 'swap': | 15 | case 'swap': |
16 | require_once 'type/GenericStacked.class.php'; | 16 | require_once 'type/GenericStacked.class.php'; |
17 | $obj = new Type_GenericStacked($CONFIG); | 17 | $obj = new Type_GenericStacked($CONFIG); |