diff options
author | Christoph Brill <egore911@egore911.de> | 2012-03-17 20:44:27 +0100 |
---|---|---|
committer | Christoph Brill <egore911@egore911.de> | 2012-03-26 00:17:35 +0200 |
commit | 7d3a9d19076f419a4a07f3813895ba7c75430c3a (patch) | |
tree | 4a2088994b9667bd318fb1ee923b1229d477a469 /json.php | |
parent | e26b397e950e427eb55b01fa3fae9133f07e6f2f (diff) |
Typo
Diffstat (limited to 'json.php')
-rw-r--r-- | json.php | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -19,6 +19,10 @@ if (!isset($_GET['date'])) { $_GET['date'] = 'today'; } +if (!isset($_GET['mode'])) { + $_GET['mode'] = ''; +} + require_once('common.inc.php'); // Read all lines of the log into an array @@ -131,4 +135,4 @@ switch ($_GET['mode']) { break; } -echo json_encode($retval);
\ No newline at end of file +echo json_encode($retval); |