From 1bce11aec73bcd6f90fe8e72877b4061ae8d45af Mon Sep 17 00:00:00 2001 From: Karol Nowacki Date: Thu, 21 Apr 2011 20:24:38 +0200 Subject: resolve php notices Including a lot of undefined $_GET values. --- plugin/swap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin/swap.php') 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'; # swap/swap-free.rrd # swap/swap-used.rrd -switch($_GET['t']) { +switch(GET('t')) { case 'swap': require_once 'type/GenericStacked.class.php'; $obj = new Type_GenericStacked($CONFIG); -- cgit v1.1