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 /detail.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 'detail.php')
-rw-r--r-- | detail.php | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -11,14 +11,14 @@ if (empty($_GET['x'])) | |||
11 | if (empty($_GET['y'])) | 11 | if (empty($_GET['y'])) |
12 | $_GET['y'] = $CONFIG['detail-heigth']; | 12 | $_GET['y'] = $CONFIG['detail-heigth']; |
13 | 13 | ||
14 | $host = validate_get($_GET['h'], 'host'); | 14 | $host = validate_get(GET('h'), 'host'); |
15 | $plugin = validate_get($_GET['p'], 'plugin'); | 15 | $plugin = validate_get(GET('p'), 'plugin'); |
16 | $pinstance = validate_get($_GET['pi'], 'pinstance'); | 16 | $pinstance = validate_get(GET('pi'), 'pinstance'); |
17 | $type = validate_get($_GET['t'], 'type'); | 17 | $type = validate_get(GET('t'), 'type'); |
18 | $tinstance = validate_get($_GET['ti'], 'tinstance'); | 18 | $tinstance = validate_get(GET('ti'), 'tinstance'); |
19 | $width = $_GET['x']; | 19 | $width = GET('x'); |
20 | $heigth = $_GET['y']; | 20 | $heigth = GET('y'); |
21 | $seconds = $_GET['s']; | 21 | $seconds = GET('s'); |
22 | 22 | ||
23 | html_start(); | 23 | html_start(); |
24 | 24 | ||